libp2p/upgrademngrs/muxedupgrade

    Dark Mode
Search:
Group by:
  Source   Edit

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] = []; ms: MultistreamSelect): T:type {.
    ...raises: [].}
  Source   Edit

Methods

method upgrade(self: MuxedUpgrade; conn: Connection; direction: Direction;
               peerId: Opt[PeerId]): Future[Muxer] {.stackTrace: false, ...gcsafe,
    raises: [], raises: [], raises: [], tags: [RootEffect].}
  Source   Edit