Expand description
This module introduces a settings struct that can be used to configure the server and client.
Structs§
Enums§
Functions§
- build_
client_ netcode_ config - Build a netcode config for the client
- build_
server_ netcode_ config - get_
client_ net_ config - Parse the settings into a
NetConfig
that is used to configure how the lightyear client connects to the server - get_
matchmaker_ url - This is the path to the websocket endpoint on `bevygap_matchmaker_httpd``
- get_
server_ net_ configs - Parse the settings into a list of
NetConfig
that are used to configure how the lightyear server listens for incoming client connections - parse_
private_ key_ from_ env - Reads and parses the LIGHTYEAR_PRIVATE_KEY environment variable into a private key.