Function: createHTTPHandler()
createHTTPHandler<
TRouter
>(opts
): (req
,res
) =>Promise
<void
>
Type parameters
Parameter |
---|
TRouter extends Router < AnyRouterDef < AnyRootConfig >, TRouter > |
Parameters
Parameter | Type |
---|---|
opts | CreateHTTPHandlerOptions < TRouter > |
Returns
(
req
,res
):Promise
<void
>Parameters
Parameter Type req
IncomingMessage
res
ServerResponse
<IncomingMessage
>Returns
Promise
<void
>Source
Source
packages/server/src/adapters/standalone.ts:29
Generated using TypeDoc and typedoc-plugin-markdown