Skip to main content

talawa-api / Exports / app

Module: app

Table of contents

Functions

Functions

default

default(req, res): any

Express instance itself is a request handler, which could be invoked without third argument.

Parameters

NameType
reqIncomingMessage | Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
resServerResponse<IncomingMessage> | Response<any, Record<string, any>, number>

Returns

any

Defined in

src/app.ts:15

default(req, res, next): void

Parameters

NameType
reqRequest<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
resResponse<any, Record<string, any>, number>
nextNextFunction

Returns

void

Defined in

src/app.ts:15