Skip to main contentCrate netchan
Source pub use client::Client;pub use client::Endpoint;pub use conn::Stats;pub use endpoint::ClientConfig;pub use endpoint::ClientEvent;pub use endpoint::ServerConfig;pub use endpoint::ServerEvent;pub use endpoint::State;pub use server::Server;pub use server::WsEndpoint;pub use ws::WebSocket;pub use ws::WsMessage;pub use ws::WsOptions;pub use ws::WsState;
- client
- a game client’s channel to its server (UDP or WebSocket, never blocking)
- conn
- one connection’s sequence numbers, acks, keep-alives and round-trip time, without I/O
- endpoint
- the server’s and the client’s protocol without I/O (the caller’s clock)
- packet
- the wire format
- reliable
- the reliable, ordered channel beside the packets: chunks, their resends, the reassembly
- seal
- the handshake’s keys and the sealing of UDP packets
- server
- a game server’s channels: UDP and WebSocket clients in one table
- ws
- one WebSocket client type for every target
- Error
- why a call failed
- Reason
- why a connection ended
- Transport
- which transport a connection runs over