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 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]): InternalRaisesFuture[
    Muxer, (CancelledError, LPError)] {.stackTrace: false, ...raises: [], gcsafe,
                                        raises: [], raises: [],
                                        tags: [RootEffect].}
  Source   Edit