WebSocketConfig constructor

const WebSocketConfig({
  1. String? host,
  2. String? path,
  3. Map<String, String>? headers,
  4. bool? acceptProxyProtocol,
  5. int? heartbeatPeriod,
})

Implementation

const factory WebSocketConfig({
  String? host,
  String? path,
  Map<String, String>? headers,
  bool? acceptProxyProtocol,
  int? heartbeatPeriod,
}) = _WebSocketConfig;