ServerTransportConnection.viaSocket constructor

ServerTransportConnection.viaSocket(
  1. Socket socket, {
  2. ServerSettings? settings,
})

Implementation

factory ServerTransportConnection.viaSocket(Socket socket,
    {ServerSettings? settings}) {
  return ServerTransportConnection.viaStreams(socket, socket,
      settings: settings);
}