Expand description
§Naia Client Socket
A Socket abstraction over either a UDP socket on native Linux, or a unreliable WebRTC datachannel on the browser
Re-exports§
Structs§
- Identity
Receiver Impl - Handles receiving an IdentityToken from the Server through a given Client Socket
- Packet
Receiver Impl - Handles receiving messages from the Server through a given Client Socket
- Packet
Sender Impl - Handles sending messages to the Server for a given Client Socket
- Socket
- A client-side socket which communicates with an underlying unordered & unreliable protocol
Enums§
- Identity
Receiver Result - Naia
Client Socket Error - An Error type specifically related to the Naia Client Socket This is under construction and needs to be cleaned up
- Server
Addr - The server’s socket address, if it has been found
Traits§
- Identity
Receiver - Used to receive an IdentityToken from the Client Socket
- Packet
Receiver - Used to receive packets from the Client Socket
- Packet
Sender - Used to send packets from the Client Socket