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.

Parameter Type Required Default Description
options EnvPortAdapterConfig none
options.hostName string none

The host name the reverse proxy is available under.

options.port number none

The port on which the reverse proxy is available.

options.ssl boolean none

Whether the reverse proxy supports SSL.

options.variableName string none

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