Skip to main content

Module client

Module client 

Source
Expand description

High-level client API.

RaknetClient manages handshake, reliability, keepalive, and event polling for a single outbound connection to a RakNet server.

Structs§

ClientSendOptions
Send policy used by RaknetClient::send_with_options.
RaknetClient
Single-session high-level RakNet client.
RaknetClientConfig
Configuration for RaknetClient.
ReconnectPolicy
Retry policy for RaknetClient::connect_with_retry.

Enums§

ClientDisconnectReason
Reason for client-side disconnection.
HandshakeStage
Last handshake stage reached before timeout.
OfflineRejectionReason
Explicit offline handshake rejection reasons.
RaknetClientError
Errors returned by client connect/send/receive operations.
RaknetClientEvent
Event stream produced by RaknetClient::next_event.

Type Aliases§

ClientResult