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 | Required | Default | Description |
---|---|---|---|---|
options | MiddlewareAdapterConfig | none | ||
options.hostName | string | none |
The host name the root application is available under. |
|
options.pathPrefix | string | none |
The path your listener is mounted under. |
|
options.port | number | none |
The port on which the root application is available. |