autoconnect_common

Module protocol

source
Expand description

Definition of Internal Router and Websocket protocol messages

This module is a structured definition of several protocol. Both messages received from the client and messages sent from the server are defined here. The derive(Deserialize) and derive(Serialize) annotations are used to generate the ability to serialize these structures to JSON, using the serde crate. More docs for serde can be found at https://serde.rs

Structs§

  • Returned ACKnowledgement of the received message by the User Agent. This is the payload for the messageType:ack packet.

Enums§