WsLimits constructor
const
WsLimits({
- int maxFrameBytes = defaultMaxFrameBytes,
- Duration handshakeTimeout = const Duration(seconds: 5),
- Duration pingInterval = const Duration(seconds: 20),
- int maxConnections = 64,
- int maxEndpointsPerConnection = 32,
- int maxLiveQueriesPerConnection = 32,
- int maxPeers = 256,
- int? maxInboundBytesPerSecond,
- int? inboundBurstBytes,
Implementation
const WsLimits({
this.maxFrameBytes = defaultMaxFrameBytes,
this.handshakeTimeout = const Duration(seconds: 5),
this.pingInterval = const Duration(seconds: 20),
this.maxConnections = 64,
this.maxEndpointsPerConnection = 32,
this.maxLiveQueriesPerConnection = 32,
this.maxPeers = 256,
this.maxInboundBytesPerSecond,
this.inboundBurstBytes,
});