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

ReverseProxyAdapter

A WebHook connection adapter that supports a reverse proxy in front of the listener.

Constructor

new ReverseProxyAdapter(options)

Creates a reverse proxy connection adapter.

ParameterTypeDescription
optionsReverseProxyAdapterConfig
options.externalPortnumber

The port on which the reverse proxy is available.

options.hostNamestring

The host name the reverse proxy is available under.

options.pathPrefixstring

The path prefix your reverse proxy redirects to the listener.

options.portnumber

The port the server should listen to.