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

EnvPortAdapter

A connection adapter that reads the port to listen on from the environment.

Constructor

new EnvPortAdapter(options)

Creates a new environment port connection adapter.

ParameterTypeDescription
optionsEnvPortAdapterConfig
options.hostNamestring

The host name the reverse proxy is available under.

options.portnumber

The port on which the reverse proxy is available.

options.sslboolean

Whether the reverse proxy supports SSL.

options.variableNamestring

The environment variable name the adapter should get the port from.