Skip to main content

DEFAULT_MAX_PENDING_REQUESTS

Constant DEFAULT_MAX_PENDING_REQUESTS 

Source
pub const DEFAULT_MAX_PENDING_REQUESTS: usize = 64 /* 64usize */;
Available on crate feature websocket only.
Expand description

Default for WebSocketTransportConfig::max_pending_requests.

The same 64 the server’s WebSocket binding admits per connection before answering -32000 server busy, so a client at the default refuses locally exactly where the server would have refused it anyway.