AboutSupportDeveloper GuideVersion 41.129.83.3

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
true

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