Skip to main content

Module protocol

Module protocol 

Source

Modules§

identity_token
The identity token is the only carrier of a session’s name. The hub mints signed tokens (iss HUB_ISSUER, EdDSA, verified by the relay against the hub’s JWKS); a client that cannot reach the hub mints the same shape unsigned (iss SELF_ISSUER, alg UNSIGNED_ALG, empty signature) and the relay treats the name as unverified. Keep the claim shape in sync with manabrew-hub/src/auth/token.rs.
state_delta

Structs§

Deck
DraftConfig
EnginePlayStats
IdentityProof
PlayerDeckInfo
PlayerInfo
ResumeRoomRequest
RoomInfo
RoomPlayerInfo
SealedConfig

Enums§

ClientMessage
ClientPlatform
EngineKind
GameFormat
RoomStatus
ServerMessage

Constants§

DEFAULT_RECONNECT_TIMEOUT_S
PROTOCOL_VERSION