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 identify(self: MuxedUpgrade; muxer: Muxer): Future[void] {....gcsafe,
    stackTrace: false, ...gcsafe, raises: [], raises: [], tags: [RootEffect].}
  Source   Edit
proc mux(self: MuxedUpgrade; conn: Connection): Future[Muxer] {....gcsafe,
    stackTrace: false, ...gcsafe, raises: [], raises: [], tags: [RootEffect].}
mux outgoing connection   Source   Edit
proc new(T: type MuxedUpgrade; identity: Identify; muxers: seq[MuxerProvider];
         secureManagers: openArray[Secure] = []; connManager: ConnManager;
         ms: MultistreamSelect): T:type {....raises: [].}
  Source   Edit

Methods

method upgradeIncoming(self: MuxedUpgrade; incomingConn: Connection): Future[
    void] {....gcsafe, stackTrace: false, ...gcsafe, raises: [], raises: [],
            tags: [RootEffect].}
  Source   Edit
method upgradeOutgoing(self: MuxedUpgrade; conn: Connection): Future[Connection] {.
    ...gcsafe, stackTrace: false, ...gcsafe, raises: [], raises: [],
    tags: [RootEffect].}
  Source   Edit