Function: nodeHTTPRequestHandler()
nodeHTTPRequestHandler<
TRouter
,TRequest
,TResponse
>(opts
):Promise
<void
>
Type parameters
Parameter |
---|
TRouter extends Router < AnyRouterDef < AnyRootConfig >, TRouter > |
TRequest extends IncomingMessage < TRequest > & {body : unknown ; query : ParsedQs ;} |
TResponse extends ServerResponse < IncomingMessage , TResponse > & {flush : () => void ;} |
Parameters
Parameter | Type |
---|---|
opts | NodeHTTPRequestHandlerOptions < TRouter , TRequest , TResponse > |
Returns
Promise
< void
>
Source
packages/server/src/adapters/node-http/nodeHTTPRequestHandler.ts:31
Generated using TypeDoc and typedoc-plugin-markdown