update docs for unstable

This commit is contained in:
= 2023-03-08 11:32:27 +00:00
parent fe1b2675ee
commit e8d37ef257
81 changed files with 586 additions and 771 deletions

View File

@ -260,7 +260,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:15 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -230,11 +230,10 @@ window.addEventListener("DOMContentLoaded", main2);
maxConnsPerPeer: int
inSema*: AsyncSemaphore
outSema*: AsyncSemaphore
conns: Table[PeerId, HashSet[Connection]]
muxed: Table[Connection, MuxerHolder]
muxed: Table[PeerId, seq[Muxer]]
connEvents: array[ConnEventKind, OrderedSet[ConnEventHandler]]
peerEvents: array[PeerEventKind, OrderedSet[PeerEventHandler]]
expectedConnectionsOverLimit*: Table[(PeerId, Direction), Future[Connection]]
expectedConnectionsOverLimit*: Table[(PeerId, Direction), Future[Muxer]]
peerStore*: PeerStore">ConnManager</a></li>
<li><a class="reference" href="#PeerEvent"
title="PeerEvent = object
@ -249,7 +248,7 @@ window.addEventListener("DOMContentLoaded", main2);
gcsafe, raises: [Defect].}">PeerEventHandler</a></li>
<li><a class="reference" href="#PeerEventKind"
title="PeerEventKind {.pure.} = enum
Left, Identified, Joined">PeerEventKind</a></li>
Left, Joined">PeerEventKind</a></li>
<li><a class="reference" href="#TooManyConnectionsError"
title="TooManyConnectionsError = object of LPError">TooManyConnectionsError</a></li>
@ -298,9 +297,7 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">contains
<li><a class="reference" href="#contains%2CConnManager%2CConnection"
title="contains(c: ConnManager; conn: Connection): bool">contains(c: ConnManager; conn: Connection): bool</a></li>
<li><a class="reference" href="#contains%2CConnManager%2CMuxer"
<li><a class="reference" href="#contains%2CConnManager%2CMuxer"
title="contains(c: ConnManager; muxer: Muxer): bool">contains(c: ConnManager; muxer: Muxer): bool</a></li>
<li><a class="reference" href="#contains%2CConnManager%2CPeerId"
title="contains(c: ConnManager; peerId: PeerId): bool">contains(c: ConnManager; peerId: PeerId): bool</a></li>
@ -313,7 +310,7 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">expectConnection
<li><a class="reference" href="#expectConnection%2CConnManager%2CPeerId%2CDirection"
title="expectConnection(c: ConnManager; p: PeerId; dir: Direction): Future[Connection]">expectConnection(c: ConnManager; p: PeerId; dir: Direction): Future[Connection]</a></li>
title="expectConnection(c: ConnManager; p: PeerId; dir: Direction): Future[Muxer]">expectConnection(c: ConnManager; p: PeerId; dir: Direction): Future[Muxer]</a></li>
</ul>
<ul class="simple nested-toc-section">getIncomingSlot
@ -327,8 +324,8 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">getStream
<li><a class="reference" href="#getStream%2CConnManager%2CConnection"
title="getStream(c: ConnManager; conn: Connection): Future[Connection]">getStream(c: ConnManager; conn: Connection): Future[Connection]</a></li>
<li><a class="reference" href="#getStream%2CConnManager%2CMuxer"
title="getStream(c: ConnManager; muxer: Muxer): Future[Connection]">getStream(c: ConnManager; muxer: Muxer): Future[Connection]</a></li>
<li><a class="reference" href="#getStream%2CConnManager%2CPeerId"
title="getStream(c: ConnManager; peerId: PeerId): Future[Connection]">getStream(c: ConnManager; peerId: PeerId): Future[Connection]</a></li>
<li><a class="reference" href="#getStream%2CConnManager%2CPeerId%2CDirection"
@ -360,38 +357,33 @@ window.addEventListener("DOMContentLoaded", main2);
kind: PeerEventKind)">removePeerEventHandler(c: ConnManager; handler: PeerEventHandler;
kind: PeerEventKind)</a></li>
</ul>
<ul class="simple nested-toc-section">selectConn
<li><a class="reference" href="#selectConn%2CConnManager%2CPeerId"
title="selectConn(c: ConnManager; peerId: PeerId): Connection">selectConn(c: ConnManager; peerId: PeerId): Connection</a></li>
<li><a class="reference" href="#selectConn%2CConnManager%2CPeerId%2CDirection"
title="selectConn(c: ConnManager; peerId: PeerId; dir: Direction): Connection">selectConn(c: ConnManager; peerId: PeerId; dir: Direction): Connection</a></li>
</ul>
<ul class="simple nested-toc-section">selectMuxer
<li><a class="reference" href="#selectMuxer%2CConnManager%2CConnection"
title="selectMuxer(c: ConnManager; conn: Connection): Muxer">selectMuxer(c: ConnManager; conn: Connection): Muxer</a></li>
<li><a class="reference" href="#selectMuxer%2CConnManager%2CPeerId"
title="selectMuxer(c: ConnManager; peerId: PeerId): Muxer">selectMuxer(c: ConnManager; peerId: PeerId): Muxer</a></li>
<li><a class="reference" href="#selectMuxer%2CConnManager%2CPeerId%2CDirection"
title="selectMuxer(c: ConnManager; peerId: PeerId; dir: Direction): Muxer">selectMuxer(c: ConnManager; peerId: PeerId; dir: Direction): Muxer</a></li>
</ul>
<ul class="simple nested-toc-section">slotsAvailable
<li><a class="reference" href="#slotsAvailable%2CConnManager%2CDirection"
title="slotsAvailable(c: ConnManager; dir: Direction): int">slotsAvailable(c: ConnManager; dir: Direction): int</a></li>
</ul>
<ul class="simple nested-toc-section">storeConn
<li><a class="reference" href="#storeConn%2CConnManager%2CConnection"
title="storeConn(c: ConnManager; conn: Connection)">storeConn(c: ConnManager; conn: Connection)</a></li>
</ul>
<ul class="simple nested-toc-section">storeMuxer
<li><a class="reference" href="#storeMuxer%2CConnManager%2CMuxer%2CFuture%5Bvoid%5D"
title="storeMuxer(c: ConnManager; muxer: Muxer; handle: Future[void] = nil)">storeMuxer(c: ConnManager; muxer: Muxer; handle: Future[void] = nil)</a></li>
<li><a class="reference" href="#storeMuxer%2CConnManager%2CMuxer"
title="storeMuxer(c: ConnManager; muxer: Muxer)">storeMuxer(c: ConnManager; muxer: Muxer)</a></li>
</ul>
<ul class="simple nested-toc-section">trackConnection
<li><a class="reference" href="#trackConnection%2CConnectionSlot%2CConnection"
title="trackConnection(cs: ConnectionSlot; conn: Connection)">trackConnection(cs: ConnectionSlot; conn: Connection)</a></li>
</ul>
<ul class="simple nested-toc-section">trackMuxer
<li><a class="reference" href="#trackMuxer%2CConnectionSlot%2CMuxer"
title="trackMuxer(cs: ConnectionSlot; mux: Muxer)">trackMuxer(cs: ConnectionSlot; mux: Muxer)</a></li>
</ul>
<ul class="simple nested-toc-section">triggerConnEvent
<li><a class="reference" href="#triggerConnEvent%2CConnManager%2CPeerId%2CConnEvent"
@ -448,9 +440,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L86"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L80"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L86" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L80" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -505,20 +497,19 @@ class="link-seesrc" target="_blank">Source</a>
<span class="Identifier">maxConnsPerPeer</span><span class="Other">:</span> <span class="Identifier">int</span>
<span class="Identifier">inSema</span><span class="Operator">*</span><span class="Other">:</span> <a href="utils/semaphore.html#AsyncSemaphore"><span class="Identifier">AsyncSemaphore</span></a>
<span class="Identifier">outSema</span><span class="Operator">*</span><span class="Other">:</span> <a href="utils/semaphore.html#AsyncSemaphore"><span class="Identifier">AsyncSemaphore</span></a>
<span class="Identifier">conns</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">,</span> <span class="Identifier">HashSet</span><span class="Other">[</span><a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">]</span><span class="Other">]</span>
<span class="Identifier">muxed</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">,</span> <span class="Identifier">MuxerHolder</span><span class="Other">]</span>
<span class="Identifier">muxed</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">,</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">]</span><span class="Other">]</span>
<span class="Identifier">connEvents</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="Identifier">ConnEventKind</span><span class="Other">,</span> <span class="Identifier">OrderedSet</span><span class="Other">[</span><a href="connmanager.html#ConnEventHandler"><span class="Identifier">ConnEventHandler</span></a><span class="Other">]</span><span class="Other">]</span>
<span class="Identifier">peerEvents</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="Identifier">PeerEventKind</span><span class="Other">,</span> <span class="Identifier">OrderedSet</span><span class="Other">[</span><a href="connmanager.html#PeerEventHandler"><span class="Identifier">PeerEventHandler</span></a><span class="Other">]</span><span class="Other">]</span>
<span class="Identifier">expectedConnectionsOverLimit</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><span class="Other">(</span><a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">,</span> <a href="stream/lpstream.html#Direction"><span class="Identifier">Direction</span></a><span class="Other">)</span><span class="Other">,</span> <span class="Identifier">Future</span><span class="Other">[</span><a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">]</span><span class="Other">]</span>
<span class="Identifier">expectedConnectionsOverLimit</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><span class="Other">(</span><a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">,</span> <a href="stream/lpstream.html#Direction"><span class="Identifier">Direction</span></a><span class="Other">)</span><span class="Other">,</span> <span class="Identifier">Future</span><span class="Other">[</span><a href="muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">]</span><span class="Other">]</span>
<span class="Identifier">peerStore</span><span class="Operator">*</span><span class="Other">:</span> <a href="peerstore.html#PeerStore"><span class="Identifier">PeerStore</span></a>
</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L75"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L70"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L75" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L70" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -536,9 +527,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L61"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L60"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L61" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L60" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -549,15 +540,15 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L68"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L67"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L68" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L67" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="PeerEventKind" class="tohide">
<dt><pre><a href="connmanager.html#PeerEventKind"><span class="Identifier">PeerEventKind</span></a> {.<span class="Identifier">pure</span>.} <span class="Other">=</span> <span class="Keyword">enum</span>
<span class="Identifier">Left</span><span class="Other">,</span> <span class="Identifier">Identified</span><span class="Other">,</span> <span class="Identifier">Joined</span></pre></dt>
<span class="Identifier">Left</span><span class="Other">,</span> <span class="Identifier">Joined</span></pre></dt>
<dd>
@ -621,9 +612,9 @@ class="link-seesrc" target="_blank">Source</a>
Add peer event handler - handlers must not raise exceptions!
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L122"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L116"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L122" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L116" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -634,9 +625,9 @@ class="link-seesrc" target="_blank">Source</a>
Add peer event handler - handlers must not raise exceptions!
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L168"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L162"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L168" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L162" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -647,9 +638,9 @@ class="link-seesrc" target="_blank">Source</a>
cleanup resources for the connection manager
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L557"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L445"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L557" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L445" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -659,9 +650,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L112"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L106"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L112" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L106" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -672,21 +663,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L115"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L109"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L115" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="contains,ConnManager,Connection" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#contains%2CConnManager%2CConnection"><span class="Identifier">contains</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
checks if a connection is being tracked by the connection manager
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L239"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L239" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L109" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -696,9 +675,9 @@ class="link-seesrc" target="_blank">Source</a>
checks if a muxer is being tracked by the connection manager
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L252"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L228"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L252" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L228" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -708,9 +687,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L249"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L225"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L249" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L225" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -721,23 +700,23 @@ class="link-seesrc" target="_blank">Source</a>
drop connections and cleanup resources for peer
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L533"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L434"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L533" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L434" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="expectConnection,ConnManager,PeerId,Direction" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#expectConnection%2CConnManager%2CPeerId%2CDirection"><span class="Identifier">expectConnection</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span> <span class="Identifier">p</span><span class="Other">:</span> <a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">;</span> <span class="Identifier">dir</span><span class="Other">:</span> <a href="stream/lpstream.html#Direction"><span class="Identifier">Direction</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
<a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dt><pre><span class="Keyword">proc</span> <a href="#expectConnection%2CConnManager%2CPeerId%2CDirection"><span class="Identifier">expectConnection</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span> <span class="Identifier">p</span><span class="Other">:</span> <a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">;</span> <span class="Identifier">dir</span><span class="Other">:</span> <a href="stream/lpstream.html#Direction"><span class="Identifier">Direction</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><a href="muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">]</span> {.
<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
Wait for a peer to connect to us. This will bypass the <tt class="docutils literal"><span class="pre"><span class="Identifier">MaxConnectionsPerPeer</span></span></tt>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L225"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L211"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L225" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L211" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -749,9 +728,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L438"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L363"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L438" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L363" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -762,23 +741,23 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L442"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L367"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L442" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L367" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="getStream,ConnManager,Connection" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#getStream%2CConnManager%2CConnection"><span class="Identifier">getStream</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span>
<div id="getStream,ConnManager,Muxer" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#getStream%2CConnManager%2CMuxer"><span class="Identifier">getStream</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span> <span class="Identifier">muxer</span><span class="Other">:</span> <a href="muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span>
</span><span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
get a muxed stream for the passed connection
get a muxed stream for the passed muxer
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L525"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L411"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L525" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L411" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -790,9 +769,9 @@ class="link-seesrc" target="_blank">Source</a>
get a muxed stream for the passed peer from any connection
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L516"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L419"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L516" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L419" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -802,11 +781,11 @@ class="link-seesrc" target="_blank">Source</a>
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
get a muxed stream for the provided peer with the given direction
get a muxed stream for the passed peer from a connection with <tt class="docutils literal"><span class="pre"><span class="Identifier">dir</span></span></tt>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L506"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L427"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L506" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L427" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -818,9 +797,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L93"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L87"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L93" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L87" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -830,9 +809,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L458"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L383"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L458" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L383" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -844,9 +823,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L138"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L132"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L138" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L132" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -858,48 +837,34 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L184"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L178"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L184" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L178" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="selectConn,ConnManager,PeerId" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#selectConn%2CConnManager%2CPeerId"><span class="Identifier">selectConn</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span> <span class="Identifier">peerId</span><span class="Other">:</span> <a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">)</span><span class="Other">:</span> <a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<div id="selectMuxer,ConnManager,PeerId" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#selectMuxer%2CConnManager%2CPeerId"><span class="Identifier">selectMuxer</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span> <span class="Identifier">peerId</span><span class="Other">:</span> <a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">)</span><span class="Other">:</span> <a href="muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
Select a connection for the provided giving priority to outgoing connections
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L378"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L300"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L378" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L300" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="selectConn,ConnManager,PeerId,Direction" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#selectConn%2CConnManager%2CPeerId%2CDirection"><span class="Identifier">selectConn</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span> <span class="Identifier">peerId</span><span class="Other">:</span> <a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">;</span> <span class="Identifier">dir</span><span class="Other">:</span> <a href="stream/lpstream.html#Direction"><span class="Identifier">Direction</span></a><span class="Other">)</span><span class="Other">:</span> <a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a> {.
<div id="selectMuxer,ConnManager,PeerId,Direction" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#selectMuxer%2CConnManager%2CPeerId%2CDirection"><span class="Identifier">selectMuxer</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span> <span class="Identifier">peerId</span><span class="Other">:</span> <a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">;</span> <span class="Identifier">dir</span><span class="Other">:</span> <a href="stream/lpstream.html#Direction"><span class="Identifier">Direction</span></a><span class="Other">)</span><span class="Other">:</span> <a href="muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
Select a connection for the provided peer and direction
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L366"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L288"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L366" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="selectMuxer,ConnManager,Connection" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#selectMuxer%2CConnManager%2CConnection"><span class="Identifier">selectMuxer</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">)</span><span class="Other">:</span> <a href="muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">TimeEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
select the muxer for the provided connection
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L391"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L391" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L288" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -909,35 +874,23 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L451"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L376"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L451" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L376" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="storeConn,ConnManager,Connection" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#storeConn%2CConnManager%2CConnection"><span class="Identifier">storeConn</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Defect</span><span class="Other">,</span> <a href="errors.html#LPError"><span class="Identifier">LPError</span></a><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">TimeEffect</span><span class="Other">,</span> <span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
store a connection
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L403"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L403" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="storeMuxer,ConnManager,Muxer,Future[void]" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#storeMuxer%2CConnManager%2CMuxer%2CFuture%5Bvoid%5D"><span class="Identifier">storeMuxer</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span> <span class="Identifier">muxer</span><span class="Other">:</span> <a href="muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">;</span> <span class="Identifier">handle</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Defect</span><span class="Other">,</span> <span class="Identifier">CatchableError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<div id="storeMuxer,ConnManager,Muxer" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#storeMuxer%2CConnManager%2CMuxer"><span class="Identifier">storeMuxer</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span> <span class="Identifier">muxer</span><span class="Other">:</span> <a href="muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Defect</span><span class="Other">,</span> <span class="Identifier">CatchableError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">TimeEffect</span><span class="Other">,</span> <span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
store the connection and muxer
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L479"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L312"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L479" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L312" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -948,9 +901,21 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L464"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L389"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L464" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L389" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="trackMuxer,ConnectionSlot,Muxer" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#trackMuxer%2CConnectionSlot%2CMuxer"><span class="Identifier">trackMuxer</span></a><span class="Other">(</span><span class="Identifier">cs</span><span class="Other">:</span> <a href="connmanager.html#ConnectionSlot"><span class="Identifier">ConnectionSlot</span></a><span class="Other">;</span> <span class="Identifier">mux</span><span class="Other">:</span> <a href="muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L404"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L404" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -962,9 +927,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L152"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L146"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L152" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L146" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -976,9 +941,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L198"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/connmanager.nim#L192"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L198" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/connmanager.nim#L192" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -992,7 +957,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -1739,7 +1739,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:11 UTC</small>
</div>
</div>
</div>

View File

@ -398,7 +398,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -1401,7 +1401,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:24 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:09 UTC</small>
</div>
</div>
</div>

View File

@ -3040,7 +3040,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:23 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:09 UTC</small>
</div>
</div>
</div>

View File

@ -940,7 +940,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:24 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:09 UTC</small>
</div>
</div>
</div>

View File

@ -275,7 +275,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -1201,7 +1201,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:23 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:09 UTC</small>
</div>
</div>
</div>

View File

@ -1021,7 +1021,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:23 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:09 UTC</small>
</div>
</div>
</div>

View File

@ -936,7 +936,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:24 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:09 UTC</small>
</div>
</div>
</div>

View File

@ -381,7 +381,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -208,10 +208,10 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#Dialer"
title="Dialer = ref object of Dial
localPeerId*: PeerId
ms: MultistreamSelect
connManager: ConnManager
dialLock: Table[PeerId, AsyncLock]
transports: seq[Transport]
peerStore: PeerStore
nameResolver: NameResolver">Dialer</a></li>
<li><a class="reference" href="#DialFailedError"
title="DialFailedError = object of LPError">DialFailedError</a></li>
@ -222,11 +222,11 @@ window.addEventListener("DOMContentLoaded", main2);
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
<ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">new
<li><a class="reference" href="#new%2CtypeDialer%2CPeerId%2CConnManager%2Cseq%5BTransport%5D%2CMultistreamSelect%2CNameResolver"
<li><a class="reference" href="#new%2CtypeDialer%2CPeerId%2CConnManager%2CPeerStore%2Cseq%5BTransport%5D%2CNameResolver"
title="new(T: type Dialer; localPeerId: PeerId; connManager: ConnManager;
transports: seq[Transport]; ms: MultistreamSelect;
peerStore: PeerStore; transports: seq[Transport];
nameResolver: NameResolver = nil): Dialer">new(T: type Dialer; localPeerId: PeerId; connManager: ConnManager;
transports: seq[Transport]; ms: MultistreamSelect;
peerStore: PeerStore; transports: seq[Transport];
nameResolver: NameResolver = nil): Dialer</a></li>
</ul>
@ -293,7 +293,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="6">
<h1><a class="toc-backref" href="#6">Imports</a></h1>
<dl class="item">
<a class="reference external" href="dial.html">dial</a>, <a class="reference external" href="peerid.html">peerid</a>, <a class="reference external" href="peerinfo.html">peerinfo</a>, <a class="reference external" href="multicodec.html">multicodec</a>, <a class="reference external" href="multistream.html">multistream</a>, <a class="reference external" href="connmanager.html">connmanager</a>, <a class="reference external" href="stream/connection.html">stream/connection</a>, <a class="reference external" href="transports/transport.html">transports/transport</a>, <a class="reference external" href="nameresolving/nameresolver.html">nameresolving/nameresolver</a>, <a class="reference external" href="upgrademngrs/upgrade.html">upgrademngrs/upgrade</a>, <a class="reference external" href="errors.html">errors</a>
<a class="reference external" href="dial.html">dial</a>, <a class="reference external" href="peerid.html">peerid</a>, <a class="reference external" href="peerinfo.html">peerinfo</a>, <a class="reference external" href="peerstore.html">peerstore</a>, <a class="reference external" href="multicodec.html">multicodec</a>, <a class="reference external" href="muxers/muxer.html">muxers/muxer</a>, <a class="reference external" href="multistream.html">multistream</a>, <a class="reference external" href="connmanager.html">connmanager</a>, <a class="reference external" href="stream/connection.html">stream/connection</a>, <a class="reference external" href="transports/transport.html">transports/transport</a>, <a class="reference external" href="nameresolving/nameresolver.html">nameresolving/nameresolver</a>, <a class="reference external" href="upgrademngrs/upgrade.html">upgrademngrs/upgrade</a>, <a class="reference external" href="errors.html">errors</a>
</dl></div>
<div class="section" id="7">
<h1><a class="toc-backref" href="#7">Types</a></h1>
@ -301,32 +301,32 @@ class="link-seesrc" target="_blank">Source</a>
<div id="Dialer" class="tohide">
<dt><pre><a href="dialer.html#Dialer"><span class="Identifier">Dialer</span></a> <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <a href="dial.html#Dial"><span class="Identifier">Dial</span></a>
<span class="Identifier">localPeerId</span><span class="Operator">*</span><span class="Other">:</span> <a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a>
<span class="Identifier">ms</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a>
<span class="Identifier">connManager</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a>
<span class="Identifier">dialLock</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">,</span> <span class="Identifier">AsyncLock</span><span class="Other">]</span>
<span class="Identifier">transports</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="upgrademngrs/upgrade.html#Transport"><span class="Identifier">Transport</span></a><span class="Other">]</span>
<span class="Identifier">peerStore</span><span class="Other">:</span> <a href="peerstore.html#PeerStore"><span class="Identifier">PeerStore</span></a>
<span class="Identifier">nameResolver</span><span class="Other">:</span> <a href="nameresolving/nameresolver.html#NameResolver"><span class="Identifier">NameResolver</span></a>
</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L44"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L44" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="DialFailedError" class="tohide">
<dt><pre><a href="dialer.html#DialFailedError"><span class="Identifier">DialFailedError</span></a> <span class="Other">=</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <a href="errors.html#LPError"><span class="Identifier">LPError</span></a></pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L42"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L42" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="DialFailedError" class="tohide">
<dt><pre><a href="dialer.html#DialFailedError"><span class="Identifier">DialFailedError</span></a> <span class="Other">=</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <a href="errors.html#LPError"><span class="Identifier">LPError</span></a></pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L40"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L40" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -334,17 +334,17 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="12">
<h1><a class="toc-backref" href="#12">Procs</a></h1>
<dl class="item">
<div id="new,typeDialer,PeerId,ConnManager,seq[Transport],MultistreamSelect,NameResolver" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#new%2CtypeDialer%2CPeerId%2CConnManager%2Cseq%5BTransport%5D%2CMultistreamSelect%2CNameResolver"><span class="Identifier">new</span></a><span class="Other">(</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Keyword">type</span> <span class="Identifier">Dialer</span><span class="Other">;</span> <span class="Identifier">localPeerId</span><span class="Other">:</span> <a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">;</span> <span class="Identifier">connManager</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span>
<span class="Identifier">transports</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="upgrademngrs/upgrade.html#Transport"><span class="Identifier">Transport</span></a><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">ms</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a><span class="Other">;</span>
<div id="new,typeDialer,PeerId,ConnManager,PeerStore,seq[Transport],NameResolver" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#new%2CtypeDialer%2CPeerId%2CConnManager%2CPeerStore%2Cseq%5BTransport%5D%2CNameResolver"><span class="Identifier">new</span></a><span class="Other">(</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Keyword">type</span> <span class="Identifier">Dialer</span><span class="Other">;</span> <span class="Identifier">localPeerId</span><span class="Other">:</span> <a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">;</span> <span class="Identifier">connManager</span><span class="Other">:</span> <a href="connmanager.html#ConnManager"><span class="Identifier">ConnManager</span></a><span class="Other">;</span>
<span class="Identifier">peerStore</span><span class="Other">:</span> <a href="peerstore.html#PeerStore"><span class="Identifier">PeerStore</span></a><span class="Other">;</span> <span class="Identifier">transports</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="upgrademngrs/upgrade.html#Transport"><span class="Identifier">Transport</span></a><span class="Other">]</span><span class="Other">;</span>
<span class="Identifier">nameResolver</span><span class="Other">:</span> <a href="nameresolving/nameresolver.html#NameResolver"><span class="Identifier">NameResolver</span></a> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span><span class="Other">:</span> <a href="dialer.html#Dialer"><span class="Identifier">Dialer</span></a></pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L339"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L331"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L339" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L331" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -359,9 +359,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L336"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L328"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L336" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L328" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -372,9 +372,9 @@ class="link-seesrc" target="_blank">Source</a>
Connects to a peer and retrieve its PeerId
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L230"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L222"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L230" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L222" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -386,9 +386,9 @@ class="link-seesrc" target="_blank">Source</a>
connect remote peer without negotiating a protocol
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L217"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L209"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L217" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L209" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -400,9 +400,9 @@ class="link-seesrc" target="_blank">Source</a>
create a protocol stream and establish a connection if one doesn't exist already
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L300"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L292"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L300" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L292" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -413,9 +413,9 @@ class="link-seesrc" target="_blank">Source</a>
create a protocol stream over an existing connection
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L283"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L275"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L283" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L275" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -427,9 +427,9 @@ class="link-seesrc" target="_blank">Source</a>
Create a protocol stream in order to check if a connection is possible. Doesn't use the Connection Manager to save it.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L262"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/dialer.nim#L254"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L262" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L254" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -448,7 +448,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -357,7 +357,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:11 UTC</small>
</div>
</div>
</div>

View File

@ -2246,7 +2246,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -396,7 +396,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:24 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:10 UTC</small>
</div>
</div>
</div>

View File

@ -481,7 +481,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:24 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:10 UTC</small>
</div>
</div>
</div>

View File

@ -689,7 +689,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:25 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:11 UTC</small>
</div>
</div>
</div>

View File

@ -222,22 +222,6 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
</li>
<li>
<a class="reference reference-toplevel" href="#10" id="60">Consts</a>
<ul class="simple simple-toc-section">
<li><a class="reference" href="#Codec"
title="Codec = &quot;/multistream/1.0.0&quot;">Codec</a></li>
<li><a class="reference" href="#Ls"
title="Ls = &quot;\x03ls\n&quot;">Ls</a></li>
<li><a class="reference" href="#MSCodec"
title="MSCodec = &quot;\x13/multistream/1.0.0\n&quot;">MSCodec</a></li>
<li><a class="reference" href="#MsgSize"
title="MsgSize = 1024">MsgSize</a></li>
<li><a class="reference" href="#Na"
title="Na = &quot;\x03na\n&quot;">Na</a></li>
</ul>
</li>
<li>
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
<ul class="simple simple-toc-section">
@ -257,7 +241,11 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">handle
<li><a class="reference" href="#handle%2CMultistreamSelect%2CConnection%2Cbool"
<li><a class="reference" href="#handle%2CtypeMultistreamSelect%2CConnection%2Cseq%5Bstring%5D%2Cbool"
title="handle(_: type MultistreamSelect; conn: Connection; protos: seq[string];
matchers = newSeq[Matcher](); active: bool = false): Future[string]">handle(_: type MultistreamSelect; conn: Connection; protos: seq[string];
matchers = newSeq[Matcher](); active: bool = false): Future[string]</a></li>
<li><a class="reference" href="#handle%2CMultistreamSelect%2CConnection%2Cbool"
title="handle(m: MultistreamSelect; conn: Connection; active: bool = false): Future[
void]">handle(m: MultistreamSelect; conn: Connection; active: bool = false): Future[
void]</a></li>
@ -274,14 +262,16 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">select
<li><a class="reference" href="#select%2CMultistreamSelect%2CConnection"
<li><a class="reference" href="#select%2C%2CConnection%2Cseq%5Bstring%5D"
title="select(_: MultistreamSelect | type MultistreamSelect; conn: Connection;
proto: seq[string]): Future[string]">select(_: MultistreamSelect | type MultistreamSelect; conn: Connection;
proto: seq[string]): Future[string]</a></li>
<li><a class="reference" href="#select%2C%2CConnection%2Cstring"
title="select(_: MultistreamSelect | type MultistreamSelect; conn: Connection;
proto: string): Future[bool]">select(_: MultistreamSelect | type MultistreamSelect; conn: Connection;
proto: string): Future[bool]</a></li>
<li><a class="reference" href="#select%2CMultistreamSelect%2CConnection"
title="select(m: MultistreamSelect; conn: Connection): Future[bool]">select(m: MultistreamSelect; conn: Connection): Future[bool]</a></li>
<li><a class="reference" href="#select%2CMultistreamSelect%2CConnection%2Cseq%5Bstring%5D"
title="select(m: MultistreamSelect; conn: Connection; proto: seq[string]): Future[
string]">select(m: MultistreamSelect; conn: Connection; proto: seq[string]): Future[
string]</a></li>
<li><a class="reference" href="#select%2CMultistreamSelect%2CConnection%2Cstring"
title="select(m: MultistreamSelect; conn: Connection; proto: string): Future[bool]">select(m: MultistreamSelect; conn: Connection; proto: string): Future[bool]</a></li>
</ul>
<ul class="simple nested-toc-section">start
@ -329,9 +319,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L36"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L35"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L36" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L35" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -341,9 +331,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L32"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L31"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L32" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L31" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -353,9 +343,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L34"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L33"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L34" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L33" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -368,74 +358,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L42"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L41"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L42" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
</dl></div>
<div class="section" id="10">
<h1><a class="toc-backref" href="#10">Consts</a></h1>
<dl class="item">
<div id="Codec" class="tohide">
<dt><pre><a href="multistream.html#Codec"><span class="Identifier">Codec</span></a> <span class="Other">=</span> <span class="StringLit">&quot;/multistream/1.0.0&quot;</span></pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L25"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L25" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="Ls" class="tohide">
<dt><pre><a href="multistream.html#Ls"><span class="Identifier">Ls</span></a> <span class="Other">=</span> <span class="StringLit">&quot;\x03ls\n&quot;</span></pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L29"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L29" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="MSCodec" class="tohide">
<dt><pre><a href="multistream.html#MSCodec"><span class="Identifier">MSCodec</span></a> <span class="Other">=</span> <span class="StringLit">&quot;\x13/multistream/1.0.0\n&quot;</span></pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L27"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L27" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="MsgSize" class="tohide">
<dt><pre><a href="multistream.html#MsgSize"><span class="Identifier">MsgSize</span></a> <span class="Other">=</span> <span class="DecNumber">1024</span></pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L24"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L24" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="Na" class="tohide">
<dt><pre><a href="multistream.html#Na"><span class="Identifier">Na</span></a> <span class="Other">=</span> <span class="StringLit">&quot;\x03na\n&quot;</span></pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L28"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L28" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L41" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -451,9 +376,9 @@ class="link-seesrc" target="_blank">Source</a>
helper to allow registering pure handlers
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L218"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L235"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L218" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L235" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -464,9 +389,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L212"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L229"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L212" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L229" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -477,9 +402,23 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L203"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L220"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L203" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L220" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="handle,typeMultistreamSelect,Connection,seq[string],bool" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#handle%2CtypeMultistreamSelect%2CConnection%2Cseq%5Bstring%5D%2Cbool"><span class="Identifier">handle</span></a><span class="Other">(</span><span class="Operator">_</span><span class="Other">:</span> <span class="Keyword">type</span> <span class="Identifier">MultistreamSelect</span><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">protos</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span><span class="Other">;</span>
<span class="Identifier">matchers</span> <span class="Other">=</span> <span class="Identifier">newSeq</span><span class="Other">[</span><a href="multistream.html#Matcher"><span class="Identifier">Matcher</span></a><span class="Other">]</span><span class="Other">(</span><span class="Other">)</span><span class="Other">;</span> <span class="Identifier">active</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> </span><span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L137"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L137" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -491,9 +430,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L132"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L178"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L132" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L178" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -505,9 +444,9 @@ class="link-seesrc" target="_blank">Source</a>
list remote protos requests on connection
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L117"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L116"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L117" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L116" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -517,9 +456,37 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L46"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L45"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L46" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L45" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="select,,Connection,seq[string]" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#select%2C%2CConnection%2Cseq%5Bstring%5D"><span class="Identifier">select</span></a><span class="Other">(</span><span class="Operator">_</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a> <span class="Operator">|</span> <span class="Keyword">type</span> <span class="Identifier">MultistreamSelect</span><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span>
<span class="Identifier">proto</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span>
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L59"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L59" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="select,,Connection,string" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#select%2C%2CConnection%2Cstring"><span class="Identifier">select</span></a><span class="Other">(</span><span class="Operator">_</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a> <span class="Operator">|</span> <span class="Keyword">type</span> <span class="Identifier">MultistreamSelect</span><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span>
<span class="Identifier">proto</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">bool</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span>
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L106"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L106" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -530,37 +497,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L113"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L112"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L113" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="select,MultistreamSelect,Connection,seq[string]" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#select%2CMultistreamSelect%2CConnection%2Cseq%5Bstring%5D"><span class="Identifier">select</span></a><span class="Other">(</span><span class="Identifier">m</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">proto</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
<span class="Identifier">string</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L60"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L60" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="select,MultistreamSelect,Connection,string" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#select%2CMultistreamSelect%2CConnection%2Cstring"><span class="Identifier">select</span></a><span class="Other">(</span><span class="Identifier">m</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">proto</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">bool</span><span class="Other">]</span> {.
<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L107"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L107" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L112" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -571,9 +510,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L232"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L249"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L232" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L249" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -584,9 +523,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L235"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L252"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L235" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L252" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -600,7 +539,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -386,7 +386,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -208,6 +208,7 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#Muxer"
title="Muxer = ref object of RootObj
streamHandler*: StreamHandler
handler*: Future[void]
connection*: Connection">Muxer</a></li>
<li><a class="reference" href="#MuxerConstructor"
title="MuxerConstructor = proc (conn: Connection): Muxer {.gcsafe, closure,
@ -217,10 +218,9 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#MuxerHandler"
title="MuxerHandler = proc (muxer: Muxer): Future[void] {.gcsafe, raises: [Defect].}">MuxerHandler</a></li>
<li><a class="reference" href="#MuxerProvider"
title="MuxerProvider = ref object of LPProtocol
title="MuxerProvider = object
newMuxer*: MuxerConstructor
streamHandler*: StreamHandler
muxerHandler*: MuxerHandler">MuxerProvider</a></li>
codec*: string">MuxerProvider</a></li>
<li><a class="reference" href="#StreamHandler"
title="StreamHandler = proc (conn: Connection): Future[void] {.gcsafe, raises: [Defect].}">StreamHandler</a></li>
<li><a class="reference" href="#TooManyChannels"
@ -308,6 +308,7 @@ class="link-seesrc" target="_blank">Source</a>
<div id="Muxer" class="tohide">
<dt><pre><a href="muxer.html#Muxer"><span class="Identifier">Muxer</span></a> <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <span class="Identifier">RootObj</span>
<span class="Identifier">streamHandler</span><span class="Operator">*</span><span class="Other">:</span> <a href="muxer.html#StreamHandler"><span class="Identifier">StreamHandler</span></a>
<span class="Identifier">handler</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span>
<span class="Identifier">connection</span><span class="Operator">*</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a>
</pre></dt>
<dd>
@ -327,9 +328,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L38"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L39"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L38" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L39" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -358,18 +359,17 @@ class="link-seesrc" target="_blank">Source</a>
</dd>
</div>
<div id="MuxerProvider" class="tohide">
<dt><pre><a href="muxer.html#MuxerProvider"><span class="Identifier">MuxerProvider</span></a> <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <a href="../protocols/protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>
<dt><pre><a href="muxer.html#MuxerProvider"><span class="Identifier">MuxerProvider</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
<span class="Identifier">newMuxer</span><span class="Operator">*</span><span class="Other">:</span> <a href="muxer.html#MuxerConstructor"><span class="Identifier">MuxerConstructor</span></a>
<span class="Identifier">streamHandler</span><span class="Operator">*</span><span class="Other">:</span> <a href="muxer.html#StreamHandler"><span class="Identifier">StreamHandler</span></a>
<span class="Identifier">muxerHandler</span><span class="Operator">*</span><span class="Other">:</span> <a href="muxer.html#MuxerHandler"><span class="Identifier">MuxerHandler</span></a>
<span class="Identifier">codec</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L41"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L42"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L41" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L42" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -426,9 +426,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L55"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L59"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L55" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L59" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -457,9 +457,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L52"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L54"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L52" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L54" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -471,9 +471,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L53"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L57"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L53" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L57" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -485,9 +485,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L51"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L53"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L51" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L53" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -502,9 +502,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L47"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/muxer.nim#L49"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L47" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/muxer.nim#L49" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -518,7 +518,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -276,6 +276,11 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#closeImpl.e%2CYamuxChannel"
title="closeImpl(channel: YamuxChannel): Future[void]">closeImpl(channel: YamuxChannel): Future[void]</a></li>
</ul>
<ul class="simple nested-toc-section">getWrapped
<li><a class="reference" href="#getWrapped.e%2CYamuxChannel"
title="getWrapped(channel: YamuxChannel): Connection">getWrapped(channel: YamuxChannel): Connection</a></li>
</ul>
<ul class="simple nested-toc-section">handle
<li><a class="reference" href="#handle.e%2CYamux"
@ -339,9 +344,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/yamux/yamux.nim#L360"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/yamux/yamux.nim#L362"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/yamux/yamux.nim#L360" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/yamux/yamux.nim#L362" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -415,9 +420,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/yamux/yamux.nim#L522"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/yamux/yamux.nim#L524"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/yamux/yamux.nim#L522" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/yamux/yamux.nim#L524" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -460,9 +465,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/yamux/yamux.nim#L407"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/yamux/yamux.nim#L409"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/yamux/yamux.nim#L407" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/yamux/yamux.nim#L409" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -478,6 +483,18 @@ href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/yamux/
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/yamux/yamux.nim#L189" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="getWrapped.e,YamuxChannel" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#getWrapped.e%2CYamuxChannel"><span class="Identifier">getWrapped</span></a><span class="Other">(</span><span class="Identifier">channel</span><span class="Other">:</span> <a href="yamux.html#YamuxChannel"><span class="Identifier">YamuxChannel</span></a><span class="Other">)</span><span class="Other">:</span> <a href="../../stream/connection.html#Connection"><span class="Identifier">Connection</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/yamux/yamux.nim#L359"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/yamux/yamux.nim#L359" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="handle.e,Yamux" class="tohide">
@ -488,9 +505,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/yamux/yamux.nim#L433"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/yamux/yamux.nim#L435"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/yamux/yamux.nim#L433" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/yamux/yamux.nim#L435" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -502,9 +519,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/yamux/yamux.nim#L512"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/muxers/yamux/yamux.nim#L514"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/yamux/yamux.nim#L512" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/muxers/yamux/yamux.nim#L514" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -550,7 +567,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -375,7 +375,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -806,7 +806,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:11 UTC</small>
</div>
</div>
</div>

View File

@ -484,7 +484,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -931,7 +931,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:22 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:07 UTC</small>
</div>
</div>
</div>

View File

@ -492,7 +492,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -302,7 +302,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:28 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:28 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -722,7 +722,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:28 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -377,7 +377,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:28 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -550,7 +550,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:28 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -415,7 +415,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:28 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -368,7 +368,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:28 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -620,7 +620,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -466,7 +466,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -239,7 +239,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:15 UTC</small>
</div>
</div>
</div>

View File

@ -255,7 +255,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:28 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:14 UTC</small>
</div>
</div>
</div>

View File

@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:14 UTC</small>
</div>
</div>
</div>

View File

@ -511,7 +511,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:15 UTC</small>
</div>
</div>
</div>

View File

@ -478,7 +478,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:15 UTC</small>
</div>
</div>
</div>

View File

@ -386,7 +386,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:15 UTC</small>
</div>
</div>
</div>

View File

@ -774,7 +774,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:14 UTC</small>
</div>
</div>
</div>

View File

@ -403,7 +403,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:14 UTC</small>
</div>
</div>
</div>

View File

@ -353,7 +353,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:14 UTC</small>
</div>
</div>
</div>

View File

@ -810,9 +810,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L601"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L605"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L601" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L605" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -870,9 +870,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L546"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L550"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L546" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L550" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -883,9 +883,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L603"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L607"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L603" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L607" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -927,9 +927,9 @@ class="link-seesrc" target="_blank">Source</a>
</dl>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L447"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L451"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L447" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L451" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -940,9 +940,9 @@ class="link-seesrc" target="_blank">Source</a>
unsubscribe from a <tt class="docutils literal"><span class="pre">topic</span></tt> string
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L416"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L420"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L416" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L420" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -953,9 +953,9 @@ class="link-seesrc" target="_blank">Source</a>
unsubscribe from a list of <tt class="docutils literal"><span class="pre">topic</span></tt> handlers
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L431"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L435"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L431" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L435" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -966,9 +966,9 @@ class="link-seesrc" target="_blank">Source</a>
unsubscribe every <tt class="docutils literal"><span class="pre"><span class="Identifier">handler</span></span></tt> from <tt class="docutils literal"><span class="pre"><span class="Identifier">topic</span></span></tt>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L436"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L440"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L436" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L440" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -996,9 +996,9 @@ class="link-seesrc" target="_blank">Source</a>
Add a validator to a <tt class="docutils literal"><span class="pre"><span class="Identifier">topic</span></span></tt>. Each new message received in this will be sent to <tt class="docutils literal"><span class="pre"><span class="Identifier">hook</span></span></tt>. <tt class="docutils literal"><span class="pre"><span class="Identifier">hook</span></span></tt> can return either <tt class="docutils literal"><span class="pre"><span class="Identifier">Accept</span></span></tt>, <tt class="docutils literal"><span class="pre"><span class="Identifier">Ignore</span></span></tt> or <tt class="docutils literal"><span class="pre"><span class="Identifier">Reject</span></span></tt> (which can descore the peer)
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L496"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L500"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L496" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L500" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1029,9 +1029,9 @@ class="link-seesrc" target="_blank">Source</a>
perform pubsub initialization
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L489"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L493"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L489" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L493" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1071,9 +1071,9 @@ class="link-seesrc" target="_blank">Source</a>
<p>The return value is the number of neighbours that we attempted to send the message to, excluding self. Note that this is an optimistic number of attempts - the number of peers that actually receive the message might be lower.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L477"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L481"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L477" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L481" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1084,9 +1084,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L506"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L510"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L506" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L510" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1138,9 +1138,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L515"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/pubsub/pubsub.nim#L519"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L515" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L519" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1159,7 +1159,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:14 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -342,7 +342,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:14 UTC</small>
</div>
</div>
</div>

View File

@ -566,7 +566,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:14 UTC</small>
</div>
</div>
</div>

View File

@ -596,7 +596,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:14 UTC</small>
</div>
</div>
</div>

View File

@ -409,7 +409,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:14 UTC</small>
</div>
</div>
</div>

View File

@ -530,7 +530,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -561,7 +561,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -418,9 +418,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L70"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L69"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L70" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L69" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -430,9 +430,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L80"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L79"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L80" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L79" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -445,9 +445,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L85"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L84"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L85" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L84" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -457,9 +457,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L120"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L119"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L120" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L119" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -470,9 +470,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L64"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L63"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L64" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L63" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -484,9 +484,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L77"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L76"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L77" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L76" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -498,9 +498,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L150"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L149"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L150" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L149" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -511,9 +511,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L140"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/secure/secure.nim#L139"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L140" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L139" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -549,7 +549,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -422,7 +422,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -497,7 +497,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -213,7 +213,6 @@ window.addEventListener("DOMContentLoaded", main2);
timeoutHandler*: TimeoutHandler
peerId*: PeerId
observedAddr*: Opt[MultiAddress]
upgraded*: Future[void]
protocol*: string
transportDir*: Direction
when defined(libp2p_agents_metrics):
@ -240,11 +239,6 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#hash%2CConnection"
title="hash(p: Connection): Hash">hash(p: Connection): Hash</a></li>
</ul>
<ul class="simple nested-toc-section">isUpgraded
<li><a class="reference" href="#isUpgraded%2CConnection"
title="isUpgraded(s: Connection): bool">isUpgraded(s: Connection): bool</a></li>
</ul>
<ul class="simple nested-toc-section">new
<li><a class="reference" href="#new%2CtypeConnection%2CPeerId%2CDirection%2COpt%5BMultiAddress%5D%2CDuration%2CTimeoutHandler"
@ -256,21 +250,11 @@ window.addEventListener("DOMContentLoaded", main2);
timeout: Duration = DefaultConnectionTimeout;
timeoutHandler: TimeoutHandler = nil): Connection</a></li>
</ul>
<ul class="simple nested-toc-section">onUpgrade
<li><a class="reference" href="#onUpgrade%2CConnection"
title="onUpgrade(s: Connection): Future[void]">onUpgrade(s: Connection): Future[void]</a></li>
</ul>
<ul class="simple nested-toc-section">shortLog
<li><a class="reference" href="#shortLog%2CConnection"
title="shortLog(conn: Connection): string">shortLog(conn: Connection): string</a></li>
</ul>
<ul class="simple nested-toc-section">upgrade
<li><a class="reference" href="#upgrade%2CConnection%2Cref.CatchableError"
title="upgrade(s: Connection; failed: ref CatchableError = nil)">upgrade(s: Connection; failed: ref CatchableError = nil)</a></li>
</ul>
</ul>
@ -342,7 +326,6 @@ class="link-seesrc" target="_blank">Source</a>
<span class="Identifier">timeoutHandler</span><span class="Operator">*</span><span class="Other">:</span> <a href="connection.html#TimeoutHandler"><span class="Identifier">TimeoutHandler</span></a>
<span class="Identifier">peerId</span><span class="Operator">*</span><span class="Other">:</span> <a href="../peerid.html#PeerId"><span class="Identifier">PeerId</span></a>
<span class="Identifier">observedAddr</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><a href="../multiaddress.html#MultiAddress"><span class="Identifier">MultiAddress</span></a><span class="Other">]</span>
<span class="Identifier">upgraded</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span>
<span class="Identifier">protocol</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
<span class="Identifier">transportDir</span><span class="Operator">*</span><span class="Other">:</span> <a href="lpstream.html#Direction"><span class="Identifier">Direction</span></a>
<span class="Keyword">when</span> <span class="Identifier">defined</span><span class="Other">(</span><span class="Identifier">libp2p_agents_metrics</span><span class="Other">)</span><span class="Other">:</span>
@ -411,21 +394,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L111"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L87"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L111" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="isUpgraded,Connection" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#isUpgraded%2CConnection"><span class="Identifier">isUpgraded</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <a href="connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L50"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L50" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L87" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -438,22 +409,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L161"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L144"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L161" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="onUpgrade,Connection" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#onUpgrade%2CConnection"><span class="Identifier">onUpgrade</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <a href="connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span>
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L62"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L62" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L144" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -463,22 +421,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L66"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L49"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L66" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="upgrade,Connection,ref.CatchableError" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#upgrade%2CConnection%2Cref.CatchableError"><span class="Identifier">upgrade</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <a href="connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">failed</span><span class="Other">:</span> <span class="Keyword">ref</span> <span class="Identifier">CatchableError</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L54"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L54" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L49" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -493,9 +438,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L95"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L75"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L95" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L75" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -505,9 +450,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L158"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L134"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L158" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L134" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -517,9 +462,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L75"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L58"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L75" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L58" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -534,9 +479,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L73"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/stream/connection.nim#L56"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L73" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/stream/connection.nim#L56" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -555,7 +500,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -1111,7 +1111,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -442,7 +442,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -266,7 +266,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:11 UTC</small>
</div>
</div>
</div>

View File

@ -477,7 +477,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -269,14 +269,14 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">upgradeIncoming
<li><a class="reference" href="#upgradeIncoming.e%2CTransport%2CConnection"
title="upgradeIncoming(self: Transport; conn: Connection): Future[void]">upgradeIncoming(self: Transport; conn: Connection): Future[void]</a></li>
title="upgradeIncoming(self: Transport; conn: Connection): Future[Muxer]">upgradeIncoming(self: Transport; conn: Connection): Future[Muxer]</a></li>
</ul>
<ul class="simple nested-toc-section">upgradeOutgoing
<li><a class="reference" href="#upgradeOutgoing.e%2CTransport%2CConnection%2COpt%5BPeerId%5D"
title="upgradeOutgoing(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]">upgradeOutgoing(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]</a></li>
Muxer]">upgradeOutgoing(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[
Muxer]</a></li>
</ul>
@ -298,7 +298,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="6">
<h1><a class="toc-backref" href="#6">Imports</a></h1>
<dl class="item">
<a class="reference external" href="../stream/connection.html">../stream/connection</a>, <a class="reference external" href="../multiaddress.html">../multiaddress</a>, <a class="reference external" href="../multicodec.html">../multicodec</a>, <a class="reference external" href="../upgrademngrs/upgrade.html">../upgrademngrs/upgrade</a>
<a class="reference external" href="../stream/connection.html">../stream/connection</a>, <a class="reference external" href="../multiaddress.html">../multiaddress</a>, <a class="reference external" href="../multicodec.html">../multicodec</a>, <a class="reference external" href="../muxers/muxer.html">../muxers/muxer</a>, <a class="reference external" href="../upgrademngrs/upgrade.html">../upgrademngrs/upgrade</a>
</dl></div>
<div class="section" id="7">
<h1><a class="toc-backref" href="#7">Types</a></h1>
@ -313,9 +313,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L31"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L32"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L31" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L32" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -325,9 +325,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L29"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L30"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L29" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L30" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -337,9 +337,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L27"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L28"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L27" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L28" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -349,9 +349,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L28"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L29"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L28" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L29" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -368,9 +368,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L75"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L76"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L75" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L76" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -381,9 +381,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L36"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L37"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L36" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L37" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -399,9 +399,9 @@ class="link-seesrc" target="_blank">Source</a>
accept incoming connections
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L58"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L59"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L58" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L59" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -413,9 +413,9 @@ class="link-seesrc" target="_blank">Source</a>
dial a peer
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L65"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L66"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L65" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L66" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -426,9 +426,9 @@ class="link-seesrc" target="_blank">Source</a>
check if transport supports the multiaddress
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L100"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L101"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L100" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L101" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -440,9 +440,9 @@ class="link-seesrc" target="_blank">Source</a>
start the transport
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L42"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L43"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L42" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L43" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -453,35 +453,35 @@ class="link-seesrc" target="_blank">Source</a>
stop and cleanup the transport including all outstanding connections
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L50"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L51"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L50" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L51" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="upgradeIncoming.e,Transport,Connection" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#upgradeIncoming.e%2CTransport%2CConnection"><span class="Identifier">upgradeIncoming</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="../upgrademngrs/upgrade.html#Transport"><span class="Identifier">Transport</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> {.<span class="Identifier">base</span><span class="Other">,</span>
<dt><pre><span class="Keyword">method</span> <a href="#upgradeIncoming.e%2CTransport%2CConnection"><span class="Identifier">upgradeIncoming</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="../upgrademngrs/upgrade.html#Transport"><span class="Identifier">Transport</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><a href="../muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">]</span> {.<span class="Identifier">base</span><span class="Other">,</span>
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
base upgrade method that the transport uses to perform transport specific upgrades
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L81"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L82"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L81" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L82" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="upgradeOutgoing.e,Transport,Connection,Opt[PeerId]" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#upgradeOutgoing.e%2CTransport%2CConnection%2COpt%5BPeerId%5D"><span class="Identifier">upgradeOutgoing</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="../upgrademngrs/upgrade.html#Transport"><span class="Identifier">Transport</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">peerId</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><a href="../peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
<a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">]</span> {.<span class="Identifier">base</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<a href="../muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">]</span> {.<span class="Identifier">base</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
base upgrade method that the transport uses to perform transport specific upgrades
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L90"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/transports/transport.nim#L91"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L90" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L91" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -495,7 +495,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -555,7 +555,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:28 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:14 UTC</small>
</div>
</div>
</div>

View File

@ -215,21 +215,16 @@ window.addEventListener("DOMContentLoaded", main2);
<li>
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
<ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">identify
<li><a class="reference" href="#identify%2CMuxedUpgrade%2CMuxer"
title="identify(self: MuxedUpgrade; muxer: Muxer): Future[void]">identify(self: MuxedUpgrade; muxer: Muxer): Future[void]</a></li>
</ul>
<ul class="simple nested-toc-section">mux
<li><a class="reference" href="#mux%2CMuxedUpgrade%2CConnection"
title="mux(self: MuxedUpgrade; conn: Connection): Future[Muxer]">mux(self: MuxedUpgrade; conn: Connection): Future[Muxer]</a></li>
<ul class="simple nested-toc-section">mux
<li><a class="reference" href="#mux%2CMuxedUpgrade%2CConnection%2CDirection"
title="mux(self: MuxedUpgrade; conn: Connection; direction: Direction): Future[Muxer]">mux(self: MuxedUpgrade; conn: Connection; direction: Direction): Future[Muxer]</a></li>
</ul>
<ul class="simple nested-toc-section">new
<li><a class="reference" href="#new%2CtypeMuxedUpgrade%2CIdentify%2Cseq%5BMuxerProvider%5D%2CopenArray%5BSecure%5D%2CConnManager%2CMultistreamSelect"
title="new(T: type MuxedUpgrade; identity: Identify; muxers: seq[MuxerProvider];
<li><a class="reference" href="#new%2CtypeMuxedUpgrade%2Cseq%5BMuxerProvider%5D%2CopenArray%5BSecure%5D%2CConnManager%2CMultistreamSelect"
title="new(T: type MuxedUpgrade; muxers: seq[MuxerProvider];
secureManagers: openArray[Secure] = []; connManager: ConnManager;
ms: MultistreamSelect): T:type">new(T: type MuxedUpgrade; identity: Identify; muxers: seq[MuxerProvider];
ms: MultistreamSelect): T:type">new(T: type MuxedUpgrade; muxers: seq[MuxerProvider];
secureManagers: openArray[Secure] = []; connManager: ConnManager;
ms: MultistreamSelect): T:type</a></li>
@ -242,14 +237,14 @@ window.addEventListener("DOMContentLoaded", main2);
<ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">upgradeIncoming
<li><a class="reference" href="#upgradeIncoming.e%2CMuxedUpgrade%2CConnection"
title="upgradeIncoming(self: MuxedUpgrade; incomingConn: Connection): Future[void]">upgradeIncoming(self: MuxedUpgrade; incomingConn: Connection): Future[void]</a></li>
title="upgradeIncoming(self: MuxedUpgrade; conn: Connection): Future[Muxer]">upgradeIncoming(self: MuxedUpgrade; conn: Connection): Future[Muxer]</a></li>
</ul>
<ul class="simple nested-toc-section">upgradeOutgoing
<li><a class="reference" href="#upgradeOutgoing.e%2CMuxedUpgrade%2CConnection%2COpt%5BPeerId%5D"
title="upgradeOutgoing(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]">upgradeOutgoing(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]</a></li>
Muxer]">upgradeOutgoing(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Muxer]</a></li>
</ul>
@ -302,45 +297,31 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="12">
<h1><a class="toc-backref" href="#12">Procs</a></h1>
<dl class="item">
<div id="identify,MuxedUpgrade,Muxer" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#identify%2CMuxedUpgrade%2CMuxer"><span class="Identifier">identify</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="muxedupgrade.html#MuxedUpgrade"><span class="Identifier">MuxedUpgrade</span></a><span class="Other">;</span> <span class="Identifier">muxer</span><span class="Other">:</span> <a href="../muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span>
</span><span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<div id="mux,MuxedUpgrade,Connection,Direction" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#mux%2CMuxedUpgrade%2CConnection%2CDirection"><span class="Identifier">mux</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="muxedupgrade.html#MuxedUpgrade"><span class="Identifier">MuxedUpgrade</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">direction</span><span class="Other">:</span> <a href="../stream/lpstream.html#Direction"><span class="Identifier">Direction</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
<a href="../muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> </span><span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
mux connection
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/upgrademngrs/muxedupgrade.nim#L38"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/upgrademngrs/muxedupgrade.nim#L39"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L38" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L39" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="mux,MuxedUpgrade,Connection" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#mux%2CMuxedUpgrade%2CConnection"><span class="Identifier">mux</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="muxedupgrade.html#MuxedUpgrade"><span class="Identifier">MuxedUpgrade</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><a href="../muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span>
</span><span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
mux outgoing connection
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/upgrademngrs/muxedupgrade.nim#L53"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L53" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="new,typeMuxedUpgrade,Identify,seq[MuxerProvider],openArray[Secure],ConnManager,MultistreamSelect" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#new%2CtypeMuxedUpgrade%2CIdentify%2Cseq%5BMuxerProvider%5D%2CopenArray%5BSecure%5D%2CConnManager%2CMultistreamSelect"><span class="Identifier">new</span></a><span class="Other">(</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Keyword">type</span> <span class="Identifier">MuxedUpgrade</span><span class="Other">;</span> <span class="Identifier">identity</span><span class="Other">:</span> <a href="../protocols/identify.html#Identify"><span class="Identifier">Identify</span></a><span class="Other">;</span> <span class="Identifier">muxers</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="../muxers/muxer.html#MuxerProvider"><span class="Identifier">MuxerProvider</span></a><span class="Other">]</span><span class="Other">;</span>
<div id="new,typeMuxedUpgrade,seq[MuxerProvider],openArray[Secure],ConnManager,MultistreamSelect" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#new%2CtypeMuxedUpgrade%2Cseq%5BMuxerProvider%5D%2CopenArray%5BSecure%5D%2CConnManager%2CMultistreamSelect"><span class="Identifier">new</span></a><span class="Other">(</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Keyword">type</span> <span class="Identifier">MuxedUpgrade</span><span class="Other">;</span> <span class="Identifier">muxers</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="../muxers/muxer.html#MuxerProvider"><span class="Identifier">MuxerProvider</span></a><span class="Other">]</span><span class="Other">;</span>
<span class="Identifier">secureManagers</span><span class="Other">:</span> <span class="Identifier">openArray</span><span class="Other">[</span><a href="../protocols/secure/secure.html#Secure"><span class="Identifier">Secure</span></a><span class="Other">]</span> <span class="Other">=</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">connManager</span><span class="Other">:</span> <span class="Identifier">ConnManager</span><span class="Other">;</span>
<span class="Identifier">ms</span><span class="Other">:</span> <a href="../multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">T:type</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/upgrademngrs/muxedupgrade.nim#L206"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/upgrademngrs/muxedupgrade.nim#L104"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L206" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L104" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -350,30 +331,30 @@ class="link-seesrc" target="_blank">Source</a>
<h1><a class="toc-backref" href="#14">Methods</a></h1>
<dl class="item">
<div id="upgradeIncoming.e,MuxedUpgrade,Connection" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#upgradeIncoming.e%2CMuxedUpgrade%2CConnection"><span class="Identifier">upgradeIncoming</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="muxedupgrade.html#MuxedUpgrade"><span class="Identifier">MuxedUpgrade</span></a><span class="Other">;</span> <span class="Identifier">incomingConn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
<span class="Identifier">void</span><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> </span><span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dt><pre><span class="Keyword">method</span> <a href="#upgradeIncoming.e%2CMuxedUpgrade%2CConnection"><span class="Identifier">upgradeIncoming</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="muxedupgrade.html#MuxedUpgrade"><span class="Identifier">MuxedUpgrade</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><a href="../muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">]</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> </span><span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/upgrademngrs/muxedupgrade.nim#L120"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/upgrademngrs/muxedupgrade.nim#L101"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L120" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L101" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="upgradeOutgoing.e,MuxedUpgrade,Connection,Opt[PeerId]" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#upgradeOutgoing.e%2CMuxedUpgrade%2CConnection%2COpt%5BPeerId%5D"><span class="Identifier">upgradeOutgoing</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="muxedupgrade.html#MuxedUpgrade"><span class="Identifier">MuxedUpgrade</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">peerId</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><a href="../peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
<a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> </span><span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<a href="../muxers/muxer.html#Muxer"><span class="Identifier">Muxer</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> </span><span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/upgrademngrs/muxedupgrade.nim#L92"
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/upgrademngrs/muxedupgrade.nim#L96"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L92" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L96" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -392,7 +373,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -304,7 +304,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:21 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:07 UTC</small>
</div>
</div>
</div>

View File

@ -271,7 +271,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -245,7 +245,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -512,7 +512,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:13 UTC</small>
</div>
</div>
</div>

View File

@ -362,7 +362,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:26 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -725,7 +725,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:21 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:07 UTC</small>
</div>
</div>
</div>

View File

@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:24 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:09 UTC</small>
</div>
</div>
</div>

View File

@ -574,7 +574,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:12 UTC</small>
</div>
</div>
</div>

View File

@ -690,13 +690,7 @@ window.addEventListener('DOMContentLoaded', main);
data-doc-search-tag="multicodec: codec(mt: typedesc[MultiCodec]; code: int): MultiCodec" href="libp2p/multicodec.html#codec%2Ctypedesc%5BMultiCodec%5D%2Cint">multicodec: codec(mt: typedesc[MultiCodec]; code: int): MultiCodec</a></li>
<li><a class="reference external"
data-doc-search-tag="multicodec: codec(mt: typedesc[MultiCodec]; name: string): MultiCodec" href="libp2p/multicodec.html#codec%2Ctypedesc%5BMultiCodec%5D%2Cstring">multicodec: codec(mt: typedesc[MultiCodec]; name: string): MultiCodec</a></li>
</ul></dd>
<dt><a name="Codec" href="#Codec"><span>Codec:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="multistream: Codec" href="libp2p/multistream.html#Codec">multistream: Codec</a></li>
</ul></dd>
<dt><a name="codec" href="#codec"><span>codec:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
<li><a class="reference external"
data-doc-search-tag="protocol: codec(p: LPProtocol): string" href="libp2p/protocols/protocol.html#codec%2CLPProtocol">protocol: codec(p: LPProtocol): string</a></li>
</ul></dd>
<dt><a name="codec%3D" href="#codec%3D"><span>codec=:</span></a></dt><dd><ul class="simple">
@ -815,8 +809,6 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="contains" href="#contains"><span>contains:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="connmanager: contains(c: ConnManager; conn: Connection): bool" href="libp2p/connmanager.html#contains%2CConnManager%2CConnection">connmanager: contains(c: ConnManager; conn: Connection): bool</a></li>
<li><a class="reference external"
data-doc-search-tag="connmanager: contains(c: ConnManager; muxer: Muxer): bool" href="libp2p/connmanager.html#contains%2CConnManager%2CMuxer">connmanager: contains(c: ConnManager; muxer: Muxer): bool</a></li>
<li><a class="reference external"
data-doc-search-tag="connmanager: contains(c: ConnManager; peerId: PeerId): bool" href="libp2p/connmanager.html#contains%2CConnManager%2CPeerId">connmanager: contains(c: ConnManager; peerId: PeerId): bool</a></li>
@ -1451,7 +1443,7 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="expectConnection" href="#expectConnection"><span>expectConnection:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="connmanager: expectConnection(c: ConnManager; p: PeerId; dir: Direction): Future[Connection]" href="libp2p/connmanager.html#expectConnection%2CConnManager%2CPeerId%2CDirection">connmanager: expectConnection(c: ConnManager; p: PeerId; dir: Direction): Future[Connection]</a></li>
data-doc-search-tag="connmanager: expectConnection(c: ConnManager; p: PeerId; dir: Direction): Future[Muxer]" href="libp2p/connmanager.html#expectConnection%2CConnManager%2CPeerId%2CDirection">connmanager: expectConnection(c: ConnManager; p: PeerId; dir: Direction): Future[Muxer]</a></li>
</ul></dd>
<dt><a name="expire" href="#expire"><span>expire:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -1763,7 +1755,7 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="getStream" href="#getStream"><span>getStream:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="connmanager: getStream(c: ConnManager; conn: Connection): Future[Connection]" href="libp2p/connmanager.html#getStream%2CConnManager%2CConnection">connmanager: getStream(c: ConnManager; conn: Connection): Future[Connection]</a></li>
data-doc-search-tag="connmanager: getStream(c: ConnManager; muxer: Muxer): Future[Connection]" href="libp2p/connmanager.html#getStream%2CConnManager%2CMuxer">connmanager: getStream(c: ConnManager; muxer: Muxer): Future[Connection]</a></li>
<li><a class="reference external"
data-doc-search-tag="connmanager: getStream(c: ConnManager; peerId: PeerId): Future[Connection]" href="libp2p/connmanager.html#getStream%2CConnManager%2CPeerId">connmanager: getStream(c: ConnManager; peerId: PeerId): Future[Connection]</a></li>
<li><a class="reference external"
@ -1791,6 +1783,8 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="getWrapped" href="#getWrapped"><span>getWrapped:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="yamux: getWrapped(channel: YamuxChannel): Connection" href="libp2p/muxers/yamux/yamux.html#getWrapped.e%2CYamuxChannel">yamux: getWrapped(channel: YamuxChannel): Connection</a></li>
<li><a class="reference external"
data-doc-search-tag="rconn: getWrapped(self: RelayConnection): Connection" href="libp2p/protocols/connectivity/relay/rconn.html#getWrapped.e%2CRelayConnection">rconn: getWrapped(self: RelayConnection): Connection</a></li>
<li><a class="reference external"
data-doc-search-tag="secure: getWrapped(s: SecureConn): Connection" href="libp2p/protocols/secure/secure.html#getWrapped.e%2CSecureConn">secure: getWrapped(s: SecureConn): Connection</a></li>
@ -1862,6 +1856,10 @@ window.addEventListener('DOMContentLoaded', main);
data-doc-search-tag="multistream: handle(m: MultistreamSelect; conn: Connection; active: bool = false): Future[
void]" href="libp2p/multistream.html#handle%2CMultistreamSelect%2CConnection%2Cbool">multistream: handle(m: MultistreamSelect; conn: Connection; active: bool = false): Future[
void]</a></li>
<li><a class="reference external"
data-doc-search-tag="multistream: handle(_: type MultistreamSelect; conn: Connection; protos: seq[string];
matchers = newSeq[Matcher](); active: bool = false): Future[string]" href="libp2p/multistream.html#handle%2CtypeMultistreamSelect%2CConnection%2Cseq%5Bstring%5D%2Cbool">multistream: handle(_: type MultistreamSelect; conn: Connection; protos: seq[string];
matchers = newSeq[Matcher](); active: bool = false): Future[string]</a></li>
<li><a class="reference external"
data-doc-search-tag="muxer: handle(m: Muxer): Future[void]" href="libp2p/muxers/muxer.html#handle.e%2CMuxer">muxer: handle(m: Muxer): Future[void]</a></li>
<li><a class="reference external"
@ -1975,6 +1973,10 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="floodsub: hasSeen(f: FloodSub; msgId: MessageId): bool" href="libp2p/protocols/pubsub/floodsub.html#hasSeen%2CFloodSub%2CMessageId">floodsub: hasSeen(f: FloodSub; msgId: MessageId): bool</a></li>
</ul></dd>
<dt><a name="hasSendConn" href="#hasSendConn"><span>hasSendConn:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="pubsubpeer: hasSendConn(p: PubSubPeer): bool" href="libp2p/protocols/pubsub/pubsubpeer.html#hasSendConn%2CPubSubPeer">pubsubpeer: hasSendConn(p: PubSubPeer): bool</a></li>
</ul></dd>
<dt><a name="heartbeat" href="#heartbeat"><span>heartbeat:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="behavior: heartbeat(g: GossipSub): Future[void]" href="libp2p/protocols/pubsub/gossipsub/behavior.html#heartbeat%2CGossipSub">behavior: heartbeat(g: GossipSub): Future[void]</a></li>
@ -2042,10 +2044,6 @@ window.addEventListener('DOMContentLoaded', main);
data-doc-search-tag="identify: identify(p: Identify; conn: Connection; remotePeerId: PeerId): Future[
IdentifyInfo]" href="libp2p/protocols/identify.html#identify%2CIdentify%2CConnection%2CPeerId">identify: identify(p: Identify; conn: Connection; remotePeerId: PeerId): Future[
IdentifyInfo]</a></li>
<li><a class="reference external"
data-doc-search-tag="muxedupgrade: identify(self: MuxedUpgrade; muxer: Muxer): Future[void]" href="libp2p/upgrademngrs/muxedupgrade.html#identify%2CMuxedUpgrade%2CMuxer">muxedupgrade: identify(self: MuxedUpgrade; muxer: Muxer): Future[void]</a></li>
<li><a class="reference external"
data-doc-search-tag="upgrade: identify(self: Upgrade; conn: Connection): Future[void]" href="libp2p/upgrademngrs/upgrade.html#identify%2CUpgrade%2CConnection">upgrade: identify(self: Upgrade; conn: Connection): Future[void]</a></li>
</ul></dd>
<dt><a name="IdentifyCodec" href="#IdentifyCodec"><span>IdentifyCodec:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -2507,10 +2505,6 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="vbuffer: isEnough(vb: VBuffer; length: int): bool" href="libp2p/vbuffer.html#isEnough.t%2CVBuffer%2Cint">vbuffer: isEnough(vb: VBuffer; length: int): bool</a></li>
</ul></dd>
<dt><a name="isUpgraded" href="#isUpgraded"><span>isUpgraded:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="connection: isUpgraded(s: Connection): bool" href="libp2p/stream/connection.html#isUpgraded%2CConnection">connection: isUpgraded(s: Connection): bool</a></li>
</ul></dd>
<dt><a name="items" href="#items"><span>items:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="multiaddress: items(ma: MultiAddress): MaResult[MultiAddress]" href="libp2p/multiaddress.html#items.i%2CMultiAddress">multiaddress: items(ma: MultiAddress): MaResult[MultiAddress]</a></li>
@ -2739,10 +2733,6 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="lpstream: LPStreamWriteError" href="libp2p/stream/lpstream.html#LPStreamWriteError">lpstream: LPStreamWriteError</a></li>
</ul></dd>
<dt><a name="Ls" href="#Ls"><span>Ls:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="multistream: Ls" href="libp2p/multistream.html#Ls">multistream: Ls</a></li>
</ul></dd>
<dt><a name="mac" href="#mac"><span>mac:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="crypto: mac(secret: Secret; id: int): seq[byte]" href="libp2p/crypto/crypto.html#mac%2CSecret%2Cint">crypto: mac(secret: Secret; id: int): seq[byte]</a></li>
@ -2911,10 +2901,6 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="mplex: MplexCodec" href="libp2p/muxers/mplex/mplex.html#MplexCodec">mplex: MplexCodec</a></li>
</ul></dd>
<dt><a name="MSCodec" href="#MSCodec"><span>MSCodec:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="multistream: MSCodec" href="libp2p/multistream.html#MSCodec">multistream: MSCodec</a></li>
</ul></dd>
<dt><a name="Msg" href="#Msg"><span>Msg:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="coder: Msg" href="libp2p/muxers/mplex/coder.html#Msg">coder: Msg</a></li>
@ -2923,10 +2909,6 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="pubsub: MsgIdProvider" href="libp2p/protocols/pubsub/pubsub.html#MsgIdProvider">pubsub: MsgIdProvider</a></li>
</ul></dd>
<dt><a name="MsgSize" href="#MsgSize"><span>MsgSize:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="multistream: MsgSize" href="libp2p/multistream.html#MsgSize">multistream: MsgSize</a></li>
</ul></dd>
<dt><a name="MsgType" href="#MsgType"><span>MsgType:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="core: MsgType" href="libp2p/protocols/connectivity/autonat/core.html#MsgType">core: MsgType</a></li>
@ -2979,7 +2961,7 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="mux" href="#mux"><span>mux:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="muxedupgrade: mux(self: MuxedUpgrade; conn: Connection): Future[Muxer]" href="libp2p/upgrademngrs/muxedupgrade.html#mux%2CMuxedUpgrade%2CConnection">muxedupgrade: mux(self: MuxedUpgrade; conn: Connection): Future[Muxer]</a></li>
data-doc-search-tag="muxedupgrade: mux(self: MuxedUpgrade; conn: Connection; direction: Direction): Future[Muxer]" href="libp2p/upgrademngrs/muxedupgrade.html#mux%2CMuxedUpgrade%2CConnection%2CDirection">muxedupgrade: mux(self: MuxedUpgrade; conn: Connection; direction: Direction): Future[Muxer]</a></li>
</ul></dd>
<dt><a name="MuxedUpgrade" href="#MuxedUpgrade"><span>MuxedUpgrade:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -3005,10 +2987,6 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="muxer: MuxerProvider" href="libp2p/muxers/muxer.html#MuxerProvider">muxer: MuxerProvider</a></li>
</ul></dd>
<dt><a name="Na" href="#Na"><span>Na:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="multistream: Na" href="libp2p/multistream.html#Na">multistream: Na</a></li>
</ul></dd>
<dt><a name="NameResolver" href="#NameResolver"><span>NameResolver:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="nameresolver: NameResolver" href="libp2p/nameresolving/nameresolver.html#NameResolver">nameresolver: NameResolver</a></li>
@ -3022,9 +3000,9 @@ window.addEventListener('DOMContentLoaded', main);
maxConnections = MaxConnections; maxIn = -1; maxOut = -1): ConnManager</a></li>
<li><a class="reference external"
data-doc-search-tag="dialer: new(T: type Dialer; localPeerId: PeerId; connManager: ConnManager;
transports: seq[Transport]; ms: MultistreamSelect;
nameResolver: NameResolver = nil): Dialer" href="libp2p/dialer.html#new%2CtypeDialer%2CPeerId%2CConnManager%2Cseq%5BTransport%5D%2CMultistreamSelect%2CNameResolver">dialer: new(T: type Dialer; localPeerId: PeerId; connManager: ConnManager;
transports: seq[Transport]; ms: MultistreamSelect;
peerStore: PeerStore; transports: seq[Transport];
nameResolver: NameResolver = nil): Dialer" href="libp2p/dialer.html#new%2CtypeDialer%2CPeerId%2CConnManager%2CPeerStore%2Cseq%5BTransport%5D%2CNameResolver">dialer: new(T: type Dialer; localPeerId: PeerId; connManager: ConnManager;
peerStore: PeerStore; transports: seq[Transport];
nameResolver: NameResolver = nil): Dialer</a></li>
<li><a class="reference external"
data-doc-search-tag="multistream: new(T: typedesc[MultistreamSelect]): T:type" href="libp2p/multistream.html#new%2Ctypedesc%5BMultistreamSelect%5D">multistream: new(T: typedesc[MultistreamSelect]): T:type</a></li>
@ -3143,9 +3121,9 @@ window.addEventListener('DOMContentLoaded', main);
observedAddr: Opt[MultiAddress]; timeout = 10.minutes): T:type" href="libp2p/transports/wstransport.html#new%2CtypeWsStream%2CWSSession%2CDirection%2COpt%5BMultiAddress%5D">wstransport: new(T: type WsStream; session: WSSession; dir: Direction;
observedAddr: Opt[MultiAddress]; timeout = 10.minutes): T:type</a></li>
<li><a class="reference external"
data-doc-search-tag="muxedupgrade: new(T: type MuxedUpgrade; identity: Identify; muxers: seq[MuxerProvider];
data-doc-search-tag="muxedupgrade: new(T: type MuxedUpgrade; muxers: seq[MuxerProvider];
secureManagers: openArray[Secure] = []; connManager: ConnManager;
ms: MultistreamSelect): T:type" href="libp2p/upgrademngrs/muxedupgrade.html#new%2CtypeMuxedUpgrade%2CIdentify%2Cseq%5BMuxerProvider%5D%2CopenArray%5BSecure%5D%2CConnManager%2CMultistreamSelect">muxedupgrade: new(T: type MuxedUpgrade; identity: Identify; muxers: seq[MuxerProvider];
ms: MultistreamSelect): T:type" href="libp2p/upgrademngrs/muxedupgrade.html#new%2CtypeMuxedUpgrade%2Cseq%5BMuxerProvider%5D%2CopenArray%5BSecure%5D%2CConnManager%2CMultistreamSelect">muxedupgrade: new(T: type MuxedUpgrade; muxers: seq[MuxerProvider];
secureManagers: openArray[Secure] = []; connManager: ConnManager;
ms: MultistreamSelect): T:type</a></li>
</ul></dd>
@ -3233,13 +3211,13 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="newSwitch" href="#newSwitch"><span>newSwitch:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="switch: newSwitch(peerInfo: PeerInfo; transports: seq[Transport]; identity: Identify;
data-doc-search-tag="switch: newSwitch(peerInfo: PeerInfo; transports: seq[Transport];
secureManagers: openArray[Secure] = []; connManager: ConnManager;
ms: MultistreamSelect; nameResolver: NameResolver = nil;
peerStore = PeerStore.new(); services = newSeq[Service]()): Switch" href="libp2p/switch.html#newSwitch%2CPeerInfo%2Cseq%5BTransport%5D%2CIdentify%2CopenArray%5BSecure%5D%2CConnManager%2CMultistreamSelect%2CNameResolver">switch: newSwitch(peerInfo: PeerInfo; transports: seq[Transport]; identity: Identify;
ms: MultistreamSelect; peerStore: PeerStore;
nameResolver: NameResolver = nil; services = newSeq[Service]()): Switch" href="libp2p/switch.html#newSwitch%2CPeerInfo%2Cseq%5BTransport%5D%2CopenArray%5BSecure%5D%2CConnManager%2CMultistreamSelect%2CPeerStore%2CNameResolver">switch: newSwitch(peerInfo: PeerInfo; transports: seq[Transport];
secureManagers: openArray[Secure] = []; connManager: ConnManager;
ms: MultistreamSelect; nameResolver: NameResolver = nil;
peerStore = PeerStore.new(); services = newSeq[Service]()): Switch</a></li>
ms: MultistreamSelect; peerStore: PeerStore;
nameResolver: NameResolver = nil; services = newSeq[Service]()): Switch</a></li>
</ul></dd>
<dt><a name="newTransportClosedError" href="#newTransportClosedError"><span>newTransportClosedError:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -3315,10 +3293,6 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="pubsub: onTopicSubscription(p: PubSub; topic: string; subscribed: bool)" href="libp2p/protocols/pubsub/pubsub.html#onTopicSubscription.e%2CPubSub%2Cstring%2Cbool">pubsub: onTopicSubscription(p: PubSub; topic: string; subscribed: bool)</a></li>
</ul></dd>
<dt><a name="onUpgrade" href="#onUpgrade"><span>onUpgrade:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="connection: onUpgrade(s: Connection): Future[void]" href="libp2p/stream/connection.html#onUpgrade%2CConnection">connection: onUpgrade(s: Connection): Future[void]</a></li>
</ul></dd>
<dt><a name="open" href="#open"><span>open:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="yamux: open(channel: YamuxChannel): Future[void]" href="libp2p/muxers/yamux/yamux.html#open%2CYamuxChannel">yamux: open(channel: YamuxChannel): Future[void]</a></li>
@ -4127,7 +4101,9 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="wstransport: secure(self: WsTransport): bool" href="libp2p/transports/wstransport.html#secure%2CWsTransport">wstransport: secure(self: WsTransport): bool</a></li>
<li><a class="reference external"
data-doc-search-tag="upgrade: secure(self: Upgrade; conn: Connection; peerId: Opt[PeerId]): Future[Connection]" href="libp2p/upgrademngrs/upgrade.html#secure%2CUpgrade%2CConnection%2COpt%5BPeerId%5D">upgrade: secure(self: Upgrade; conn: Connection; peerId: Opt[PeerId]): Future[Connection]</a></li>
data-doc-search-tag="upgrade: secure(self: Upgrade; conn: Connection; direction: Direction;
peerId: Opt[PeerId]): Future[Connection]" href="libp2p/upgrademngrs/upgrade.html#secure%2CUpgrade%2CConnection%2CDirection%2COpt%5BPeerId%5D">upgrade: secure(self: Upgrade; conn: Connection; direction: Direction;
peerId: Opt[PeerId]): Future[Connection]</a></li>
</ul></dd>
<dt><a name="SecureConn" href="#SecureConn"><span>SecureConn:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -4143,27 +4119,25 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="select" href="#select"><span>select:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="multistream: select(_: MultistreamSelect | type MultistreamSelect; conn: Connection;
proto: seq[string]): Future[string]" href="libp2p/multistream.html#select%2C%2CConnection%2Cseq%5Bstring%5D">multistream: select(_: MultistreamSelect | type MultistreamSelect; conn: Connection;
proto: seq[string]): Future[string]</a></li>
<li><a class="reference external"
data-doc-search-tag="multistream: select(_: MultistreamSelect | type MultistreamSelect; conn: Connection;
proto: string): Future[bool]" href="libp2p/multistream.html#select%2C%2CConnection%2Cstring">multistream: select(_: MultistreamSelect | type MultistreamSelect; conn: Connection;
proto: string): Future[bool]</a></li>
<li><a class="reference external"
data-doc-search-tag="multistream: select(m: MultistreamSelect; conn: Connection): Future[bool]" href="libp2p/multistream.html#select%2CMultistreamSelect%2CConnection">multistream: select(m: MultistreamSelect; conn: Connection): Future[bool]</a></li>
<li><a class="reference external"
data-doc-search-tag="multistream: select(m: MultistreamSelect; conn: Connection; proto: seq[string]): Future[
string]" href="libp2p/multistream.html#select%2CMultistreamSelect%2CConnection%2Cseq%5Bstring%5D">multistream: select(m: MultistreamSelect; conn: Connection; proto: seq[string]): Future[
string]</a></li>
<li><a class="reference external"
data-doc-search-tag="multistream: select(m: MultistreamSelect; conn: Connection; proto: string): Future[bool]" href="libp2p/multistream.html#select%2CMultistreamSelect%2CConnection%2Cstring">multistream: select(m: MultistreamSelect; conn: Connection; proto: string): Future[bool]</a></li>
</ul></dd>
<dt><a name="selectBest" href="#selectBest"><span>selectBest:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="crypto: selectBest(order: int; p1, p2: string): string" href="libp2p/crypto/crypto.html#selectBest%2Cint%2Cstring%2Cstring">crypto: selectBest(order: int; p1, p2: string): string</a></li>
</ul></dd>
<dt><a name="selectConn" href="#selectConn"><span>selectConn:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="connmanager: selectConn(c: ConnManager; peerId: PeerId): Connection" href="libp2p/connmanager.html#selectConn%2CConnManager%2CPeerId">connmanager: selectConn(c: ConnManager; peerId: PeerId): Connection</a></li>
<li><a class="reference external"
data-doc-search-tag="connmanager: selectConn(c: ConnManager; peerId: PeerId; dir: Direction): Connection" href="libp2p/connmanager.html#selectConn%2CConnManager%2CPeerId%2CDirection">connmanager: selectConn(c: ConnManager; peerId: PeerId; dir: Direction): Connection</a></li>
</ul></dd>
<dt><a name="selectMuxer" href="#selectMuxer"><span>selectMuxer:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="connmanager: selectMuxer(c: ConnManager; conn: Connection): Muxer" href="libp2p/connmanager.html#selectMuxer%2CConnManager%2CConnection">connmanager: selectMuxer(c: ConnManager; conn: Connection): Muxer</a></li>
data-doc-search-tag="connmanager: selectMuxer(c: ConnManager; peerId: PeerId): Muxer" href="libp2p/connmanager.html#selectMuxer%2CConnManager%2CPeerId">connmanager: selectMuxer(c: ConnManager; peerId: PeerId): Muxer</a></li>
<li><a class="reference external"
data-doc-search-tag="connmanager: selectMuxer(c: ConnManager; peerId: PeerId; dir: Direction): Muxer" href="libp2p/connmanager.html#selectMuxer%2CConnManager%2CPeerId%2CDirection">connmanager: selectMuxer(c: ConnManager; peerId: PeerId; dir: Direction): Muxer</a></li>
</ul></dd>
<dt><a name="send" href="#send"><span>send:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -4429,13 +4403,9 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="messages: StopMessageType" href="libp2p/protocols/connectivity/relay/messages.html#StopMessageType">messages: StopMessageType</a></li>
</ul></dd>
<dt><a name="storeConn" href="#storeConn"><span>storeConn:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="connmanager: storeConn(c: ConnManager; conn: Connection)" href="libp2p/connmanager.html#storeConn%2CConnManager%2CConnection">connmanager: storeConn(c: ConnManager; conn: Connection)</a></li>
</ul></dd>
<dt><a name="storeMuxer" href="#storeMuxer"><span>storeMuxer:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="connmanager: storeMuxer(c: ConnManager; muxer: Muxer; handle: Future[void] = nil)" href="libp2p/connmanager.html#storeMuxer%2CConnManager%2CMuxer%2CFuture%5Bvoid%5D">connmanager: storeMuxer(c: ConnManager; muxer: Muxer; handle: Future[void] = nil)</a></li>
data-doc-search-tag="connmanager: storeMuxer(c: ConnManager; muxer: Muxer)" href="libp2p/connmanager.html#storeMuxer%2CConnManager%2CMuxer">connmanager: storeMuxer(c: ConnManager; muxer: Muxer)</a></li>
</ul></dd>
<dt><a name="StreamHandler" href="#StreamHandler"><span>StreamHandler:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -4635,6 +4605,10 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="connmanager: trackConnection(cs: ConnectionSlot; conn: Connection)" href="libp2p/connmanager.html#trackConnection%2CConnectionSlot%2CConnection">connmanager: trackConnection(cs: ConnectionSlot; conn: Connection)</a></li>
</ul></dd>
<dt><a name="trackMuxer" href="#trackMuxer"><span>trackMuxer:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="connmanager: trackMuxer(cs: ConnectionSlot; mux: Muxer)" href="libp2p/connmanager.html#trackMuxer%2CConnectionSlot%2CMuxer">connmanager: trackMuxer(cs: ConnectionSlot; mux: Muxer)</a></li>
</ul></dd>
<dt><a name="Transcoder" href="#Transcoder"><span>Transcoder:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="transcoder: Transcoder" href="libp2p/transcoder.html#Transcoder">transcoder: Transcoder</a></li>
@ -4781,10 +4755,6 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="scoring: updateScores(g: GossipSub)" href="libp2p/protocols/pubsub/gossipsub/scoring.html#updateScores%2CGossipSub">scoring: updateScores(g: GossipSub)</a></li>
</ul></dd>
<dt><a name="upgrade" href="#upgrade"><span>upgrade:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="connection: upgrade(s: Connection; failed: ref CatchableError = nil)" href="libp2p/stream/connection.html#upgrade%2CConnection%2Cref.CatchableError">connection: upgrade(s: Connection; failed: ref CatchableError = nil)</a></li>
</ul></dd>
<dt><a name="Upgrade" href="#Upgrade"><span>Upgrade:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="upgrade: Upgrade" href="libp2p/upgrademngrs/upgrade.html#Upgrade">upgrade: Upgrade</a></li>
@ -4795,25 +4765,25 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="upgradeIncoming" href="#upgradeIncoming"><span>upgradeIncoming:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="transport: upgradeIncoming(self: Transport; conn: Connection): Future[void]" href="libp2p/transports/transport.html#upgradeIncoming.e%2CTransport%2CConnection">transport: upgradeIncoming(self: Transport; conn: Connection): Future[void]</a></li>
data-doc-search-tag="transport: upgradeIncoming(self: Transport; conn: Connection): Future[Muxer]" href="libp2p/transports/transport.html#upgradeIncoming.e%2CTransport%2CConnection">transport: upgradeIncoming(self: Transport; conn: Connection): Future[Muxer]</a></li>
<li><a class="reference external"
data-doc-search-tag="muxedupgrade: upgradeIncoming(self: MuxedUpgrade; incomingConn: Connection): Future[void]" href="libp2p/upgrademngrs/muxedupgrade.html#upgradeIncoming.e%2CMuxedUpgrade%2CConnection">muxedupgrade: upgradeIncoming(self: MuxedUpgrade; incomingConn: Connection): Future[void]</a></li>
data-doc-search-tag="muxedupgrade: upgradeIncoming(self: MuxedUpgrade; conn: Connection): Future[Muxer]" href="libp2p/upgrademngrs/muxedupgrade.html#upgradeIncoming.e%2CMuxedUpgrade%2CConnection">muxedupgrade: upgradeIncoming(self: MuxedUpgrade; conn: Connection): Future[Muxer]</a></li>
<li><a class="reference external"
data-doc-search-tag="upgrade: upgradeIncoming(self: Upgrade; conn: Connection): Future[void]" href="libp2p/upgrademngrs/upgrade.html#upgradeIncoming.e%2CUpgrade%2CConnection">upgrade: upgradeIncoming(self: Upgrade; conn: Connection): Future[void]</a></li>
data-doc-search-tag="upgrade: upgradeIncoming(self: Upgrade; conn: Connection): Future[Muxer]" href="libp2p/upgrademngrs/upgrade.html#upgradeIncoming.e%2CUpgrade%2CConnection">upgrade: upgradeIncoming(self: Upgrade; conn: Connection): Future[Muxer]</a></li>
</ul></dd>
<dt><a name="upgradeOutgoing" href="#upgradeOutgoing"><span>upgradeOutgoing:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="transport: upgradeOutgoing(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]" href="libp2p/transports/transport.html#upgradeOutgoing.e%2CTransport%2CConnection%2COpt%5BPeerId%5D">transport: upgradeOutgoing(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]</a></li>
Muxer]" href="libp2p/transports/transport.html#upgradeOutgoing.e%2CTransport%2CConnection%2COpt%5BPeerId%5D">transport: upgradeOutgoing(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[
Muxer]</a></li>
<li><a class="reference external"
data-doc-search-tag="muxedupgrade: upgradeOutgoing(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]" href="libp2p/upgrademngrs/muxedupgrade.html#upgradeOutgoing.e%2CMuxedUpgrade%2CConnection%2COpt%5BPeerId%5D">muxedupgrade: upgradeOutgoing(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]</a></li>
Muxer]" href="libp2p/upgrademngrs/muxedupgrade.html#upgradeOutgoing.e%2CMuxedUpgrade%2CConnection%2COpt%5BPeerId%5D">muxedupgrade: upgradeOutgoing(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Muxer]</a></li>
<li><a class="reference external"
data-doc-search-tag="upgrade: upgradeOutgoing(self: Upgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]" href="libp2p/upgrademngrs/upgrade.html#upgradeOutgoing.e%2CUpgrade%2CConnection%2COpt%5BPeerId%5D">upgrade: upgradeOutgoing(self: Upgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]</a></li>
Muxer]" href="libp2p/upgrademngrs/upgrade.html#upgradeOutgoing.e%2CUpgrade%2CConnection%2COpt%5BPeerId%5D">upgrade: upgradeOutgoing(self: Upgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Muxer]</a></li>
</ul></dd>
<dt><a name="UTP" href="#UTP"><span>UTP:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -5172,7 +5142,7 @@ window.addEventListener('DOMContentLoaded', main);
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-06 15:39:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2023-03-08 11:32:15 UTC</small>
</div>
</div>
</div>