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.

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

The host name the server is available under.

options.sslCert EventSubListenerCertificateConfig none

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

options.sslCert.cert string none

Your SSL certificate.

options.sslCert.key string none

The private key of your SSL certificate.