twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks

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.

ParameterTypeDescription
optionsMiddlewareAdapterConfig
options.hostNamestring

The host name the root application is available under.

options.pathPrefixstring

The path your listener is mounted under.

options.portnumber

The port on which the root application is available.