ClientProtocolVersion

The protocol version this SDK advertises to peers (other participants) for client-to-client feature negotiation (RPC v2, etc.). Distinct from ProtocolVersion, which tracks the signaling protocol between client and server.

Sent to the server during the join handshake via the client_protocol connection query parameter and ClientInfo.client_protocol; the server then populates ParticipantInfo.client_protocol for other peers in the room to read.

Entries

Link copied to clipboard

Initial client protocol. RPC v1 only (15 KB packet payload limit).

Link copied to clipboard

RPC v2: request and success-response payloads are carried over text data streams instead of inline packets, lifting the 15 KB payload limit.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.