Skip to content

sendJSON

sendJSON(res, data, statusCode, headers): void

Defined in: response-formatter.ts:14

Send JSON response

ServerResponse

any

number = 200

Record<string, string> = {}

void