stack

Home > @infiniteobjects/express-server > ISingleRouteConfig

ISingleRouteConfig interface

A route configuration base on a Request Handler

Signature:

export interface ISingleRouteConfig 

Properties

Property Modifiers Type Description
handler   RequestHandler Route Handler
method   ‘get’ | ‘post’ | ‘put’ | ‘delete’ | ‘all’ Request method
path   string Route path