Module config

Source

Structs§

ClientConfig
Client-specific configuration
LoggingConfig
Logging configuration
NetworkConfig
Main network configuration structure that contains all configurable settings
ServerConfig
Server-specific configuration
TransportConfig
Transport configuration

Constants§

ENABLE_COMPRESSION
Whether to enable compression by default
ENABLE_ENCRYPTION
Whether to enable encryption by default
MAGIC_BYTES
Magic bytes to identify protocol packets (e.g., 0x4E50524F → “NPRO”)
MAX_PAYLOAD_SIZE
Max allowed payload size (e.g. 16 MB)
PROTOCOL_VERSION
Current supported protocol version