ClientTransportConnection.viaStreams constructor

ClientTransportConnection.viaStreams(
  1. Stream<List<int>> incoming,
  2. StreamSink<List<int>> outgoing, {
  3. ClientSettings? settings,
})

Implementation

factory ClientTransportConnection.viaStreams(
    Stream<List<int>> incoming, StreamSink<List<int>> outgoing,
    {ClientSettings? settings}) {
  settings ??= const ClientSettings();
  return ClientConnection(incoming, outgoing, settings);
}