Struct sc_rpc_server::WsConfig
source · pub struct WsConfig {
pub max_connections: Option<usize>,
pub max_subs_per_conn: Option<usize>,
pub max_payload_in_mb: Option<usize>,
pub max_payload_out_mb: Option<usize>,
}
Expand description
Server config.
Fields§
§max_connections: Option<usize>
Maximum connections.
max_subs_per_conn: Option<usize>
Maximum subscriptions per connection.
max_payload_in_mb: Option<usize>
Maximum rpc request payload size.
max_payload_out_mb: Option<usize>
Maximum rpc response payload size.