newConn abstract method

Future<MuxedConn> newConn(
  1. Socket conn,
  2. bool isServer,
  3. PeerScope scope
)

Constructs a new connection

Implementation

Future<MuxedConn> newConn(Socket conn, bool isServer, PeerScope scope);