Structs§
- Connect
Token - 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.
- Netcode
Client Transport - Netcode
Server Transport - Server
Config
Enums§
- Client
Authentication - Configuration to establish a secure or unsecure connection with the server.
- Netcode
Disconnect Reason - The reason why a client is in error state
- Netcode
Error - Errors from the renetcode crate.
- Netcode
Transport Error - Server
Authentication - Configuration to establish a secure or unsecure connection with the server.
- Token
Generation Error
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.