AboutSupportDeveloper GuideVersion 38.126.82.69

Options provided on a client connection to a channel.

interface ChannelConnectOptions {
    payload?: any;
    protocols?: ("classic" | "rtc")[];
    wait?: boolean;
}

Properties

payload?: any

Payload to pass to ChannelProvider onConnection action.

protocols?: ("classic" | "rtc")[]

EXPERIMENTAL: Messaging protocols supported by the channel provider.

wait?: boolean

Default Value

true

If true will wait for ChannelProvider to connect. If false will fail if ChannelProvider is not found.