WsConnection constructor
WsConnection(
- String url
Implementation
WsConnection(this.url)
: assert(isWsUrl(url),
'Provided URL is not compatible with WebSocket connection: $url'),
events = EventEmitter();