Types
MuxedUpgrade = ref object of Upgrade muxers*: seq[MuxerProvider] streamHandler*: StreamHandler
- Source Edit
Procs
proc mux(self: MuxedUpgrade; conn: Connection; direction: Direction): Future[ Muxer] {....gcsafe, stackTrace: false, ...gcsafe, raises: [], raises: [], raises: [], tags: [RootEffect].}
- mux connection Source Edit
proc new(T: type MuxedUpgrade; muxers: seq[MuxerProvider]; secureManagers: openArray[Secure] = []; connManager: ConnManager; ms: MultistreamSelect): T:type {....raises: [].}
- Source Edit
Methods
method upgradeIncoming(self: MuxedUpgrade; conn: Connection): Future[Muxer] {. ...gcsafe, stackTrace: false, ...gcsafe, raises: [], raises: [], raises: [], tags: [RootEffect].}
- Source Edit
method upgradeOutgoing(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[ Muxer] {....gcsafe, stackTrace: false, ...gcsafe, raises: [], raises: [], raises: [], tags: [RootEffect].}
- Source Edit