AboutSupportDeveloper GuideVersion 41.131.100.46

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.