Crate renet_netcode

Crate renet_netcode 

Source

Structs§

ConnectToken
A public connect token that the client receives to start connecting to the server. How the client receives ConnectToken is up to you, could be from a matchmaking system or from a call to a REST API as an example.
NetcodeClientTransport
NetcodeServerTransport
ServerConfig

Enums§

ClientAuthentication
Configuration to establish a secure or unsecure connection with the server.
NetcodeDisconnectReason
The reason why a client is in error state
NetcodeError
Errors from the renetcode crate.
NetcodeTransportError
ServerAuthentication
Configuration to establish a secure or unsecure connection with the server.
TokenGenerationError

Constants§

NETCODE_KEY_BYTES
The number of bytes in a private key;
NETCODE_USER_DATA_BYTES
The number of bytes that an user data can contain in the ConnectToken.

Functions§

generate_random_bytes
Generate a buffer with random bytes using randomness from the operating system.