default
talawa-api • Docs
talawa-api / app / default
Function: default()
default(req, res)
> default(req
, res
): any
Express instance itself is a request handler, which could be invoked without third argument.
Parameters
• req: IncomingMessage
| Request
<ParamsDictionary
, any
, any
, ParsedQs
, Record
<string
, any
>>
• res: ServerResponse
<IncomingMessage
> | Response
<any
, Record
<string
, any
>, number
>
Returns
any
Defined in
default(req, res, next)
> default(req
, res
, next
): void
Parameters
• req: Request
<ParamsDictionary
, any
, any
, ParsedQs
, Record
<string
, any
>>
• res: Response
<any
, Record
<string
, any
>, number
>
• next: NextFunction
Returns
void