Skip to main content

ServerHandler

Overview

ServerHandler: (`req`: `IncomingMessage`, `res`: `ServerResponse`) => `void`

Type declaration

(req, res): `void`

Node-compatible callback for use with http.createServer

Parameters
NameType
reqIncomingMessage
resServerResponse
Returns

void

Defined in

router/node/functions/createServerHandler.ts:22