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