Skip to main content
Version: 22.9.0

ConnectOptions interface

Signature:

export interface ConnectOptions extends BrowserConnectOptions

Extends: BrowserConnectOptions

Properties

Property

Modifiers

Type

Description

Default

browserURL

optional

string

browserWSEndpoint

optional

string

headers

optional

Record<string, string>

Headers to use for the web socket connection.

Remarks:

Only works in the Node.js environment.

transport

optional

ConnectionTransport