Module settings

Source
Expand description

This module introduces a settings struct that can be used to configure the server and client.

Structs§

ClientSettings
Conditioner
ServerSettings
Settings
SharedSettings

Enums§

ClientTransports
ServerTransports
WebTransportCertificateSettings

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.