Types
MuxedUpgrade = ref object of Upgrade muxers*: seq[MuxerProvider] streamHandler*: StreamHandler
- Source Edit
Procs
proc mux(self: MuxedUpgrade; conn: Connection): 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] = []; ms: MultistreamSelect): T:type {. ...raises: [].}
- Source Edit
Methods
method upgrade(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[ Muxer] {.stackTrace: false, ...gcsafe, raises: [], raises: [], raises: [], tags: [RootEffect].}
- Source Edit