XTransportTcpClient.from constructor
XTransportTcpClient.from(
- String _ip,
- int _port, {
- bool log = false,
- XtransportCredentials credentials = const XtransportCredentials.insecure(),
Implementation
XTransportTcpClient.from(
this._ip,
this._port, {
this.log = false,
this.credentials = const XtransportCredentials.insecure(),
}) : assert(Uri.parse("tls://$_ip").host == _ip),
assert(_port > 0 && _port < 65536);