WsLimits constructor

const WsLimits({
  1. int maxFrameBytes = defaultMaxFrameBytes,
  2. Duration handshakeTimeout = const Duration(seconds: 5),
  3. Duration pingInterval = const Duration(seconds: 20),
  4. int maxConnections = 64,
  5. int maxEndpointsPerConnection = 32,
  6. int maxLiveQueriesPerConnection = 32,
  7. int maxPeers = 256,
})

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,
});