createServer
Signature
declare function createServer<TIntegrationContext extends Record<string,
IntegrationContext>>(
config: MiddlewareConfig<TIntegrationContext>,
options?: CreateServerOptions
): Promise<Server>;Parameters
| Name | Required | Type | Description |
|---|---|---|---|
config | Required | MiddlewareConfig<TIntegrationContext> | |
options | Optional | CreateServerOptions |