Crate wasm_peers_protocol

Crate wasm_peers_protocol 

Source
Expand description

Helper crate that declares common types and structures shared between wasm-peers and wasm-peers-signaling-server.

Modules§

many_to_many
Signaling messages exchanged between used by NetworkManagers and signaling server to facilitate communication in many-to-many topology.
one_to_many
Signaling messages exchanged between used by MiniServer, MiniClient and signaling server to facilitate communication in client-server topology.
one_to_one
Signaling messages exchanged between used by MiniServer, MiniClient and signaling server to facilitate communication in client-server topology.

Structs§

SessionId
Unique identifier of signaling session that each user provides when communicating with the signaling server.
UserId
Unique identifier of each peer connected to signaling server useful when communicating in one-to-many and many-to-many topologies.

Type Aliases§

IsHost
Unique identifier specifying which peer is host and will be creating an offer, and which will await it.