respondWithRouter
Overview
respondWithRouter
respondWithRouter<BoundAliases>(router, nodeRequest, nodeResponse): `Promise<void>`
See
Node support is currently experimental and may change in the near future.
Type parameters
Name | Type |
---|---|
BoundAliases | {} |
Parameters
Name | Type |
---|---|
router | RequestRouter< BoundAliases> |
nodeRequest | IncomingMessage |
nodeResponse | ServerResponse |
Returns
Promise<void>
Defined in
router/node/functions/respondWithRouter.ts:46
Given a
RequestRouter
, responds to an incoming request from a Node server.