pub struct Config {
pub max_total_connections: usize,
pub max_active_connections: usize,
pub enable_handshake_errors: bool,
pub endpoint_config: EndpointConfig,
}
Expand description
Stores configuration parameters for a Server
object.
Fields§
§max_total_connections: usize
The maximum number of connections, including active connections and connections which are in the process of connecting / disconnecting.
max_active_connections: usize
The maximum number of active connections.
enable_handshake_errors: bool
Whether to emit events in response to client handshake errors.
endpoint_config: EndpointConfig
Endpoint configuration to use for inbound client connections.