MiddlewareAdapter
A WebHook connection adapter that is designed to work as a middleware for a connect compatible application rather than the built-in server.
Constructor
new MiddlewareAdapter(options)
Creates a middleware connection adapter.
Parameter | Type | Description |
---|---|---|
options | MiddlewareAdapterConfig | |
options.hostName | string | The host name the root application is available under. |
options.pathPrefix | string | The path your listener is mounted under. |
options.port | number | The port on which the root application is available. |