TwurpleAuthenticationGetting dataExamplesFAQMigration

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.

ParameterTypeRequiredDefaultDescription
optionsEnvPortAdapterConfignonesee below
options.hostNamestringnone

The host name the reverse proxy is available under.

options.variableNamestringnone

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