WebSocketHandler constructor

WebSocketHandler({
  1. required String url,
  2. required IHttpClient httpClient,
  3. required String origin,
  4. Duration heartbeatInterval = const Duration(seconds: 30),
})

Implementation

WebSocketHandler({
  required this.url,
  required this.httpClient,
  required this.origin,
  this.heartbeatInterval = const Duration(seconds: 30),
});