Serendip Framework > Http > HttpControllerInterface
HttpControllerInterface
▸ onRequest(req: HttpRequestInterface, res: HttpResponseInterface, next?: Function
, done?: Function
, model?: any
): any
Defined in src/http/interfaces/HttpControllerInterface.ts:11
Parameters:
Name | Type |
---|---|
req | HttpRequestInterface |
res | HttpResponseInterface |
Optional next |
Function |
Optional done |
Function |
Optional model |
any |
Returns: any