SocketConfig constructor

const SocketConfig({
  1. required int port,
  2. String? host,
  3. Duration? pingInterval,
  4. int? maxMessageBytes,
  5. bool shared = true,
})

Implementation

const SocketConfig({
  required this.port,
  this.host,
  this.pingInterval,
  this.maxMessageBytes,
  this.shared = true,
});