Alokai

createServer

Signature

declare function createServer<TIntegrationContext extends Record<string,
	IntegrationContext>>(
	config: MiddlewareConfig<TIntegrationContext>,
	options?: CreateServerOptions
): Promise<Server>;

Parameters

NameRequiredTypeDescription
configRequiredMiddlewareConfig<TIntegrationContext>
optionsOptionalCreateServerOptions

Referenced Types

On this page