interface IRouter { all : IRouterMatcher < IRouter , "all" > ; checkout : IRouterMatcher < IRouter , any > ; connect : IRouterMatcher < IRouter , any > ; copy : IRouterMatcher < IRouter , any > ; delete : IRouterMatcher < IRouter , "delete" > ; get : IRouterMatcher < IRouter , "get" > ; head : IRouterMatcher < IRouter , "head" > ; link : IRouterMatcher < IRouter , any > ; lock : IRouterMatcher < IRouter , any > ; m-search : IRouterMatcher < IRouter , any > ; merge : IRouterMatcher < IRouter , any > ; mkactivity : IRouterMatcher < IRouter , any > ; mkcol : IRouterMatcher < IRouter , any > ; move : IRouterMatcher < IRouter , any > ; notify : IRouterMatcher < IRouter , any > ; options : IRouterMatcher < IRouter , "options" > ; patch : IRouterMatcher < IRouter , "patch" > ; post : IRouterMatcher < IRouter , "post" > ; propfind : IRouterMatcher < IRouter , any > ; proppatch : IRouterMatcher < IRouter , any > ; purge : IRouterMatcher < IRouter , any > ; put : IRouterMatcher < IRouter , "put" > ; report : IRouterMatcher < IRouter , any > ; search : IRouterMatcher < IRouter , any > ; stack : ILayer [] ; subscribe : IRouterMatcher < IRouter , any > ; trace : IRouterMatcher < IRouter , any > ; unlink : IRouterMatcher < IRouter , any > ; unlock : IRouterMatcher < IRouter , any > ; unsubscribe : IRouterMatcher < IRouter , any > ; use : IRouterHandler < IRouter , string > & IRouterMatcher < IRouter , any > ; param ( name ,
handler ) : this ; param ( callback ) : this ; route < T > ( prefix ) : IRoute < T > ; route ( prefix ) : IRoute < string > ; ( req ,
res ,
next ) : void ; } IRouter ( req , res , next ) : void Returns void Defined in node_modules/@types/express-serve-static-core/index.d.ts:217 Properties all Defined in node_modules/@types/express-serve-static-core/index.d.ts:257 checkout Defined in node_modules/@types/express-serve-static-core/index.d.ts:266 connect Defined in node_modules/@types/express-serve-static-core/index.d.ts:267 copy Defined in node_modules/@types/express-serve-static-core/index.d.ts:268 delete Defined in node_modules/@types/express-serve-static-core/index.d.ts:261 get Defined in node_modules/@types/express-serve-static-core/index.d.ts:258 head Defined in node_modules/@types/express-serve-static-core/index.d.ts:264 link Defined in node_modules/@types/express-serve-static-core/index.d.ts:285 lock Defined in node_modules/@types/express-serve-static-core/index.d.ts:269 m- search Defined in node_modules/@types/express-serve-static-core/index.d.ts:274 merge Defined in node_modules/@types/express-serve-static-core/index.d.ts:270 mkactivity Defined in node_modules/@types/express-serve-static-core/index.d.ts:271 mkcol Defined in node_modules/@types/express-serve-static-core/index.d.ts:272 move Defined in node_modules/@types/express-serve-static-core/index.d.ts:273 notify Defined in node_modules/@types/express-serve-static-core/index.d.ts:275 options Defined in node_modules/@types/express-serve-static-core/index.d.ts:263 patch Defined in node_modules/@types/express-serve-static-core/index.d.ts:262 post Defined in node_modules/@types/express-serve-static-core/index.d.ts:259 propfind Defined in node_modules/@types/express-serve-static-core/index.d.ts:276 proppatch Defined in node_modules/@types/express-serve-static-core/index.d.ts:277 purge Defined in node_modules/@types/express-serve-static-core/index.d.ts:278 put Defined in node_modules/@types/express-serve-static-core/index.d.ts:260 report Defined in node_modules/@types/express-serve-static-core/index.d.ts:279 search Defined in node_modules/@types/express-serve-static-core/index.d.ts:280 stack Defined in node_modules/@types/express-serve-static-core/index.d.ts:295 subscribe Defined in node_modules/@types/express-serve-static-core/index.d.ts:281 trace Defined in node_modules/@types/express-serve-static-core/index.d.ts:282 unlink Defined in node_modules/@types/express-serve-static-core/index.d.ts:286 unlock Defined in node_modules/@types/express-serve-static-core/index.d.ts:283 unsubscribe Defined in node_modules/@types/express-serve-static-core/index.d.ts:284 use Defined in node_modules/@types/express-serve-static-core/index.d.ts:288 Methods param param ( name , handler ) : this Returns this Defined in node_modules/@types/express-serve-static-core/index.d.ts:244 param ( callback ) : this Returns this Defined in node_modules/@types/express-serve-static-core/index.d.ts:251 route route < T > ( prefix ) : IRoute < T > Defined in node_modules/@types/express-serve-static-core/index.d.ts:290 route ( prefix ) : IRoute < string > Returns IRoute < string > Defined in node_modules/@types/express-serve-static-core/index.d.ts:291
Special-cased "all" method, applying the given route
path
, middleware, and callback to every HTTP method.