Types
MuxedUpgrade = ref object of Upgrade muxers*: Table[string, MuxerProvider] streamHandler*: StreamHandler
- Source Edit
Procs
proc identify(self: MuxedUpgrade; muxer: Muxer): Future[void] {....gcsafe, stackTrace: false, ...gcsafe, raises: [Defect], raises: [Defect], tags: [RootEffect].}
- Source Edit
proc mux(self: MuxedUpgrade; conn: Connection): Future[Muxer] {....gcsafe, stackTrace: false, ...gcsafe, raises: [Defect], raises: [Defect], tags: [RootEffect].}
- mux outgoing connection Source Edit
proc new(T: type MuxedUpgrade; identity: Identify; muxers: Table[string, MuxerProvider]; secureManagers: openArray[Secure] = []; connManager: ConnManager; ms: MultistreamSelect): T:type {....raises: [Defect].}
- Source Edit
Methods
method upgradeIncoming(self: MuxedUpgrade; incomingConn: Connection): Future[ void] {....gcsafe, stackTrace: false, ...gcsafe, raises: [Defect], raises: [Defect], tags: [RootEffect].}
- Source Edit
method upgradeOutgoing(self: MuxedUpgrade; conn: Connection): Future[Connection] {. ...gcsafe, stackTrace: false, ...gcsafe, raises: [Defect], raises: [Defect], tags: [RootEffect].}
- Source Edit