TwurpleAuthenticationGetting dataExamplesFAQMigration

EventSubWsConfig

Configuration for an EventSub WebSocket listener.

{
The API client that will be used to subscribe to events.
Options to pass to the logger.
logger?: Partial<LoggerOptions>
The URL to connect to initially.
url?: string
}

Properties

apiClient

Type: ApiClient

The API client that will be used to subscribe to events.

logger

Type: ?Partial<LoggerOptions>

Options to pass to the logger.

url

Type: ?string

The URL to connect to initially.

Can be used to connect to a test server, for example one created by the Twitch CLI.