newConnOnTransport abstract method
Future<MuxedConn>
newConnOnTransport(
- TransportConn secureConnection,
- bool isServer,
- PeerScope scope
Establishes a new multiplexed connection over an existing transport connection.
secureConnection
: The underlying (typically secured) transport connection.
isServer
: True if this side is the server in the multiplexer handshake.
scope
: The peer-specific resource scope for this connection.
Returns a core_mux.MuxedConn representing the multiplexed connection.
Implementation
Future<core_mux.MuxedConn> newConnOnTransport(
TransportConn secureConnection,
bool isServer,
PeerScope scope
);