Skip to main content
Version: 11.x

Function: createHTTPServer()

createHTTPServer<TRouter>(opts): Server< typeof IncomingMessage, typeof ServerResponse >

Type parameters

Parameter
TRouter extends Router< AnyRouterDef< AnyRootConfig >, TRouter >

Parameters

ParameterType
optsCreateHTTPHandlerOptions< TRouter >

Returns

Server< typeof IncomingMessage, typeof ServerResponse >

Source

packages/server/src/adapters/standalone.ts:47


Generated using TypeDoc and typedoc-plugin-markdown