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

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.

ParameterTypeRequiredDefaultDescription
optionsDirectConnectionAdapterConfignone
options.hostNamestringnone

The host name the server is available under.

options.sslCertEventSubListenerCertificateConfignone

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

options.sslCert.certstringnone

Your full SSL certificate chain, including all intermediate certificates.

options.sslCert.keystringnone

The private key of your SSL certificate.