XTransportWsClient.from constructor
XTransportWsClient.from(})
Implementation
XTransportWsClient.from(
this._host,
this._path,
this._port, {
this.log = false,
this.protocols,
this.credentials = const XtransportCredentials.insecure(),
}) : assert(Uri.parse("https://$_host").host == _host),
assert(_path.startsWith("/")),
assert(_port > 0 && _port < 65536);