Function: createHTTPServer()
createHTTPServer<
TRouter
>(opts
):Server
< typeofIncomingMessage
, typeofServerResponse
>
Type parameters
Parameter |
---|
TRouter extends Router < AnyRouterDef < AnyRootConfig >, TRouter > |
Parameters
Parameter | Type |
---|---|
opts | CreateHTTPHandlerOptions < TRouter > |
Returns
Server
< typeof IncomingMessage
, typeof ServerResponse
>
Source
packages/server/src/adapters/standalone.ts:47
Generated using TypeDoc and typedoc-plugin-markdown