Skip to content

Type Alias: RoomServerFrame

RoomServerFrame = { id: string; type: "registered"; } | { sessions: RoomSessionInfo[]; type: "sessions"; } | { reason: string; type: "joinRejected"; } | { host: string; label: string; name?: string; type: "joined"; } | { client: string; type: "clientJoined"; } | { client: string; type: "clientLeft"; } | { type: "hostGone"; }

Defined in: index.ts:69

The frames the relay itself emits — part of every consumer's wire union.