tcpConnect method
discontinue tcpConnect. use connect(uri) instead Backward compatible with 0.2.x version
Implementation
Future tcpConnect(String host,
{int port = 4222,
ConnectOption? connectOption,
int timeout = 5,
bool retry = true,
int retryInterval = 10}) {
return connect(
Uri(scheme: 'nats', host: host, port: port),
retry: retry,
retryInterval: retryInterval,
timeout: timeout,
connectOption: connectOption,
);
}