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

DirectConnectionAdapter

A WebHook connection adapter that enables a direct connection.

Requires the server to be directly available to the internet.

Constructor

new DirectConnectionAdapter(options)

Creates a new simple WebHook adapter.

ParameterTypeDescription
optionsDirectConnectionAdapterConfig
options.hostNamestring

The host name the server is available under.

options.sslCertEventSubListenerCertificateConfig

The SSL keychain that should be used to make the server available using a secure connection.

options.sslCert.certstring

Your SSL certificate.

options.sslCert.keystring

The private key of your SSL certificate.