Skip to main content

Module host

Module host 

Source
Expand description

host-owned protocol state machine and side-effect commands

hosts drive ProtocolCore by reporting WebSocket, timer and peer-connection events every transition returns ordered commands, so side effects stay explicit at the host boundary

Structs§

PendingRequest
ProtocolCore
The stored state falls into three groups:

Enums§

Command
One ordered side effect for the host that drives ProtocolCore.
ConnectionState
NegotiationKind
ProtocolEvent

Constants§

RECOVERY_TIMER_ID
host-facing timer id used by the recovery backoff scheduler

Functions§

project_protocol_event