interface routerType { routes: RouteEntry[]; all(path: string, ...handlers: SpinRouteHandler[]): RouterType; delete(path: string, ...handlers: SpinRouteHandler[]): RouterType; get(path: string, ...handlers: SpinRouteHandler[]): RouterType; handle(request: RequestLike, ...extras: any): Promise<any>; handleRequest( request: Request, response: ResponseBuilder, ...extras: any, ): Promise<any>; options(path: string, ...handlers: SpinRouteHandler[]): RouterType; patch(path: string, ...handlers: SpinRouteHandler[]): RouterType; post(path: string, ...handlers: SpinRouteHandler[]): RouterType; put(path: string, ...handlers: SpinRouteHandler[]): RouterType;} Properties
Methods
handle
handle(request: RequestLike, ...extras: any): Promise<any>
handleRequest
handleRequest( request: Request, response: ResponseBuilder, ...extras: any,): Promise<any>