RoomId

@Serializable
value class RoomId(val value: String)

Stable handle for a P2P Room session. Survives leader changes: the RoomId is assigned at Room creation and does not rotate if auto-election promotes a new leader.

A host signs it into every admission challenge, so a joiner's proof is good only in the room that challenged it.

Consumer application-layer session identifiers are separate concerns and must not be conflated with this transport-layer room identity.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String