SocketConnector constructor
SocketConnector({})
Implementation
SocketConnector({
this.verbose = false,
this.logTraffic = false,
this.timeout = defaultTimeout,
this.authTimeout = defaultTimeout,
IOSink? logger,
}) {
this.logger = logger ?? stderr;
Timer(timeout, () {
gracePeriodPassed = true;
if (connections.isEmpty) {
close();
}
});
}