update docs for ex-handlersupport

This commit is contained in:
= 2024-03-25 17:22:03 +00:00
parent d1c2fb89cd
commit e67814ed8b
82 changed files with 590 additions and 673 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: 2024-03-21 14:54:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:54 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -874,7 +874,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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 UTC</small>
</div>
</div>
</div>

View File

@ -328,30 +328,6 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#%3D%3D%2CPublicKey%2CPublicKey"
title="`==`(key1, key2: PublicKey): bool">`==`(key1, key2: PublicKey): bool</a></li>
</ul>
<ul class="simple nested-toc-section">createExchange
<li><a class="reference" href="#createExchange%2CopenArray%5Bbyte%5D%2CopenArray%5Bbyte%5D"
title="createExchange(epubkey, signature: openArray[byte]): seq[byte]">createExchange(epubkey, signature: openArray[byte]): seq[byte]</a></li>
</ul>
<ul class="simple nested-toc-section">createProposal
<li><a class="reference" href="#createProposal%2CopenArray%5Bbyte%5D%2CopenArray%5Bbyte%5D%2Cstring%2Cstring%2Cstring"
title="createProposal(nonce, pubkey: openArray[byte];
exchanges, ciphers, hashes: string): seq[byte]">createProposal(nonce, pubkey: openArray[byte];
exchanges, ciphers, hashes: string): seq[byte]</a></li>
</ul>
<ul class="simple nested-toc-section">decodeExchange
<li><a class="reference" href="#decodeExchange%2Cseq%5Bbyte%5D%2Cseq%5Bbyte%5D%2Cseq%5Bbyte%5D"
title="decodeExchange(message: seq[byte]; pubkey, signature: var seq[byte]): bool">decodeExchange(message: seq[byte]; pubkey, signature: var seq[byte]): bool</a></li>
</ul>
<ul class="simple nested-toc-section">decodeProposal
<li><a class="reference" href="#decodeProposal%2Cseq%5Bbyte%5D%2Cseq%5Bbyte%5D%2Cseq%5Bbyte%5D%2Cstring%2Cstring%2Cstring"
title="decodeProposal(message: seq[byte]; nonce, pubkey: var seq[byte];
exchanges, ciphers, hashes: var string): bool">decodeProposal(message: seq[byte]; nonce, pubkey: var seq[byte];
exchanges, ciphers, hashes: var string): bool</a></li>
</ul>
<ul class="simple nested-toc-section">getBytes
<li><a class="reference" href="#getBytes%2CPrivateKey"
@ -886,64 +862,6 @@ href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/cryp
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L616" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="createExchange,openArray[byte],openArray[byte]" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#createExchange%2CopenArray%5Bbyte%5D%2CopenArray%5Bbyte%5D"><span class="Identifier">createExchange</span></a><span class="Other">(</span><span class="Identifier">epubkey</span><span class="Other">,</span> <span class="Identifier">signature</span><span class="Other">:</span> <span class="Identifier">openArray</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</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>
Create SecIO exchange message using ephemeral public key <tt class="docutils literal"><span class="pre">epubkey</span></tt> and signature of proposal blocks <tt class="docutils literal"><span class="pre">signature</span></tt>.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L960"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L960" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="createProposal,openArray[byte],openArray[byte],string,string,string" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#createProposal%2CopenArray%5Bbyte%5D%2CopenArray%5Bbyte%5D%2Cstring%2Cstring%2Cstring"><span class="Identifier">createProposal</span></a><span class="Other">(</span><span class="Identifier">nonce</span><span class="Other">,</span> <span class="Identifier">pubkey</span><span class="Other">:</span> <span class="Identifier">openArray</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span><span class="Other">;</span>
<span class="Identifier">exchanges</span><span class="Other">,</span> <span class="Identifier">ciphers</span><span class="Other">,</span> <span class="Identifier">hashes</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</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>
Create SecIO proposal message using random <tt class="docutils literal"><span class="pre">nonce</span></tt>, local public key <tt class="docutils literal"><span class="pre">pubkey</span></tt>, comma-delimieted list of supported exchange schemes <tt class="docutils literal"><span class="pre">exchanges</span></tt>, comma-delimeted list of supported ciphers <tt class="docutils literal"><span class="pre">ciphers</span></tt> and comma-delimeted list of supported hashes <tt class="docutils literal"><span class="pre">hashes</span></tt>.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L927"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L927" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="decodeExchange,seq[byte],seq[byte],seq[byte]" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#decodeExchange%2Cseq%5Bbyte%5D%2Cseq%5Bbyte%5D%2Cseq%5Bbyte%5D"><span class="Identifier">decodeExchange</span></a><span class="Other">(</span><span class="Identifier">message</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">pubkey</span><span class="Other">,</span> <span class="Identifier">signature</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span><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>
<p>Parse incoming exchange message and decode remote ephemeral public key <tt class="docutils literal"><span class="pre">pubkey</span></tt> and signature <tt class="docutils literal"><span class="pre">signature</span></tt>.</p>
<p>Procedure returns <tt class="docutils literal"><span class="pre">true</span></tt> on success and <tt class="docutils literal"><span class="pre">false</span></tt> on error.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L969"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L969" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="decodeProposal,seq[byte],seq[byte],seq[byte],string,string,string" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#decodeProposal%2Cseq%5Bbyte%5D%2Cseq%5Bbyte%5D%2Cseq%5Bbyte%5D%2Cstring%2Cstring%2Cstring"><span class="Identifier">decodeProposal</span></a><span class="Other">(</span><span class="Identifier">message</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">nonce</span><span class="Other">,</span> <span class="Identifier">pubkey</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span><span class="Other">;</span>
<span class="Identifier">exchanges</span><span class="Other">,</span> <span class="Identifier">ciphers</span><span class="Other">,</span> <span class="Identifier">hashes</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">string</span><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>
<p>Parse incoming proposal message and decode remote random nonce <tt class="docutils literal"><span class="pre">nonce</span></tt>, remote public key <tt class="docutils literal"><span class="pre">pubkey</span></tt>, comma-delimieted list of supported exchange schemes <tt class="docutils literal"><span class="pre">exchanges</span></tt>, comma-delimeted list of supported ciphers <tt class="docutils literal"><span class="pre">ciphers</span></tt> and comma-delimeted list of supported hashes <tt class="docutils literal"><span class="pre">hashes</span></tt>.</p>
<p>Procedure returns <tt class="docutils literal"><span class="pre">true</span></tt> on success and <tt class="docutils literal"><span class="pre">false</span></tt> on error.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L942"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L942" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="getBytes,PrivateKey" class="tohide">
@ -991,9 +909,9 @@ class="link-seesrc" target="_blank">Source</a>
<p>On success deserialized signature will be stored in <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L1024"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L971"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L1024" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L971" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1006,9 +924,9 @@ class="link-seesrc" target="_blank">Source</a>
<p>On success deserialized key will be stored in <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L1006"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L953"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L1006" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L953" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1553,9 +1471,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L1002"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L949"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L1002" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L949" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1566,9 +1484,9 @@ class="link-seesrc" target="_blank">Source</a>
Write PublicKey value <tt class="docutils literal"><span class="pre">pubkey</span></tt> to buffer <tt class="docutils literal"><span class="pre">vb</span></tt>.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L982"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L929"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L982" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L929" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1579,9 +1497,9 @@ class="link-seesrc" target="_blank">Source</a>
Write PrivateKey value <tt class="docutils literal"><span class="pre">seckey</span></tt> to buffer <tt class="docutils literal"><span class="pre">vb</span></tt>.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L987"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L934"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L987" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L934" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1592,9 +1510,9 @@ class="link-seesrc" target="_blank">Source</a>
Write Signature value <tt class="docutils literal"><span class="pre">sig</span></tt> to buffer <tt class="docutils literal"><span class="pre">vb</span></tt>.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L992"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L939"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L992" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L939" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1605,9 +1523,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L997"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/crypto/crypto.nim#L944"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L997" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/crypto.nim#L944" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1703,7 +1621,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: 2024-03-21 14:54:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:50 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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 UTC</small>
</div>
</div>
</div>

View File

@ -1450,7 +1450,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: 2024-03-21 14:54:39 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:49 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: 2024-03-21 14:54:38 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:48 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: 2024-03-21 14:54:39 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:49 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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 UTC</small>
</div>
</div>
</div>

View File

@ -1195,7 +1195,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: 2024-03-21 14:54:38 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:48 UTC</small>
</div>
</div>
</div>

View File

@ -1029,7 +1029,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: 2024-03-21 14:54:38 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:48 UTC</small>
</div>
</div>
</div>

View File

@ -908,7 +908,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: 2024-03-21 14:54:39 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:49 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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 UTC</small>
</div>
</div>
</div>

View File

@ -450,7 +450,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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 UTC</small>
</div>
</div>
</div>

View File

@ -340,7 +340,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: 2024-03-21 14:54:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:50 UTC</small>
</div>
</div>
</div>

View File

@ -2551,7 +2551,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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:50 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: 2024-03-21 14:54:39 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:49 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: 2024-03-21 14:54:39 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:49 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: 2024-03-21 14:54:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:50 UTC</small>
</div>
</div>
</div>

View File

@ -226,11 +226,7 @@ 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">addHandler
<li><a class="reference" href="#addHandler%2CMultistreamSelect%2Cstring%2C%2CMatcher"
title="addHandler(m: MultistreamSelect; codec: string;
handler: LPProtoHandler | LPProtocolHandler; matcher: Matcher = nil)">addHandler(m: MultistreamSelect; codec: string;
handler: LPProtoHandler | LPProtocolHandler; matcher: Matcher = nil)</a></li>
<li><a class="reference" href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher"
<li><a class="reference" href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher"
title="addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
matcher: Matcher = nil)">addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
matcher: Matcher = nil)</a></li>
@ -238,22 +234,32 @@ window.addEventListener("DOMContentLoaded", main2);
title="addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol;
matcher: Matcher = nil)">addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol;
matcher: Matcher = nil)</a></li>
<li><a class="reference" href="#addHandler%2CMultistreamSelect%2Cstring%2C%2CMatcher"
title="addHandler[E](m: MultistreamSelect; codec: string; handler: LPProtoHandler |
proc (conn: Connection; proto: string): InternalRaisesFuture[void, E];
matcher: Matcher = nil)">addHandler[E](m: MultistreamSelect; codec: string; handler: LPProtoHandler |
proc (conn: Connection; proto: string): InternalRaisesFuture[void, E];
matcher: Matcher = nil)</a></li>
</ul>
<ul class="simple nested-toc-section">handle
<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>
matchers = newSeq[Matcher](); active: bool = false): InternalRaisesFuture[
string, (CancelledError, LPStreamError, MultiStreamError)]">handle(_: type MultistreamSelect; conn: Connection; protos: seq[string];
matchers = newSeq[Matcher](); active: bool = false): InternalRaisesFuture[
string, (CancelledError, LPStreamError, MultiStreamError)]</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>
title="handle(m: MultistreamSelect; conn: Connection; active: bool = false): InternalRaisesFuture[
void, (CancelledError,)]">handle(m: MultistreamSelect; conn: Connection; active: bool = false): InternalRaisesFuture[
void, (CancelledError,)]</a></li>
</ul>
<ul class="simple nested-toc-section">list
<li><a class="reference" href="#list%2CMultistreamSelect%2CConnection"
title="list(m: MultistreamSelect; conn: Connection): Future[seq[string]]">list(m: MultistreamSelect; conn: Connection): Future[seq[string]]</a></li>
title="list(m: MultistreamSelect; conn: Connection): InternalRaisesFuture[seq[string],
(CancelledError, LPStreamError, MultiStreamError)]">list(m: MultistreamSelect; conn: Connection): InternalRaisesFuture[seq[string],
(CancelledError, LPStreamError, MultiStreamError)]</a></li>
</ul>
<ul class="simple nested-toc-section">new
@ -264,24 +270,30 @@ window.addEventListener("DOMContentLoaded", main2);
<ul class="simple nested-toc-section">select
<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>
proto: seq[string]): InternalRaisesFuture[string,
(CancelledError, LPStreamError, MultiStreamError)]">select(_: MultistreamSelect | type MultistreamSelect; conn: Connection;
proto: seq[string]): InternalRaisesFuture[string,
(CancelledError, LPStreamError, MultiStreamError)]</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>
proto: string): InternalRaisesFuture[bool,
(CancelledError, LPStreamError, MultiStreamError)]">select(_: MultistreamSelect | type MultistreamSelect; conn: Connection;
proto: string): InternalRaisesFuture[bool,
(CancelledError, LPStreamError, MultiStreamError)]</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>
title="select(m: MultistreamSelect; conn: Connection): InternalRaisesFuture[bool,
(CancelledError, LPStreamError, MultiStreamError)]">select(m: MultistreamSelect; conn: Connection): InternalRaisesFuture[bool,
(CancelledError, LPStreamError, MultiStreamError)]</a></li>
</ul>
<ul class="simple nested-toc-section">start
<li><a class="reference" href="#start%2CMultistreamSelect"
title="start(m: MultistreamSelect): Future[void]">start(m: MultistreamSelect): Future[void]</a></li>
title="start(m: MultistreamSelect): InternalRaisesFuture[void, (CancelledError,)]">start(m: MultistreamSelect): InternalRaisesFuture[void, (CancelledError,)]</a></li>
</ul>
<ul class="simple nested-toc-section">stop
<li><a class="reference" href="#stop%2CMultistreamSelect"
title="stop(m: MultistreamSelect): Future[void]">stop(m: MultistreamSelect): Future[void]</a></li>
title="stop(m: MultistreamSelect): InternalRaisesFuture[void, void]">stop(m: MultistreamSelect): InternalRaisesFuture[void, void]</a></li>
</ul>
@ -369,20 +381,6 @@ 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="addHandler,MultistreamSelect,string,,Matcher" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#addHandler%2CMultistreamSelect%2Cstring%2C%2CMatcher"><span class="Identifier">addHandler</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">codec</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span>
<span class="Identifier">handler</span><span class="Other">:</span> <a href="protocols/protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a> <span class="Operator">|</span> <a href="protocols/protocol.html#LPProtocolHandler"><span class="Identifier">LPProtocolHandler</span></a><span class="Other">;</span>
<span class="Identifier">matcher</span><span class="Other">:</span> <a href="multistream.html#Matcher"><span class="Identifier">Matcher</span></a> <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>.}</pre></dt>
<dd>
helper to allow registering pure handlers
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L231"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L231" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="addHandler,MultistreamSelect,string,LPProtocol,Matcher" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher"><span class="Identifier">addHandler</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">codec</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">protocol</span><span class="Other">:</span> <a href="protocols/protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span>
<span class="Identifier">matcher</span><span class="Other">:</span> <a href="multistream.html#Matcher"><span class="Identifier">Matcher</span></a> <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="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
@ -390,9 +388,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L225"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L243"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L225" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L243" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -403,51 +401,67 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L216"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L234"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L216" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L234" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="addHandler,MultistreamSelect,string,,Matcher" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#addHandler%2CMultistreamSelect%2Cstring%2C%2CMatcher"><span class="Identifier">addHandler</span></a><span class="Other">[</span><span class="Identifier">E</span><span class="Other">]</span><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">codec</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <a href="protocols/protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a> <span class="Operator">|</span>
<span class="Keyword">proc</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">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">,</span> <span class="Identifier">E</span><span class="Other">]</span><span class="Other">;</span>
<span class="Identifier">matcher</span><span class="Other">:</span> <a href="multistream.html#Matcher"><span class="Identifier">Matcher</span></a> <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>.}</pre></dt>
<dd>
helper to allow registering pure handlers
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/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#L249" 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 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">InternalRaisesFuture</span><span class="Other">[</span>
<span class="Identifier">string</span><span class="Other">,</span> <span class="Other">(</span><span class="Identifier">CancelledError</span><span class="Other">,</span> <a href="stream/lpstream.html#LPStreamError"><span class="Identifier">LPStreamError</span></a><span class="Other">,</span> <a href="multistream.html#MultiStreamError"><span class="Identifier">MultiStreamError</span></a><span class="Other">)</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L134"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L147"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L134" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L147" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="handle,MultistreamSelect,Connection,bool" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#handle%2CMultistreamSelect%2CConnection%2Cbool"><span class="Identifier">handle</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">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">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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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="#handle%2CMultistreamSelect%2CConnection%2Cbool"><span class="Identifier">handle</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">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">InternalRaisesFuture</span><span class="Other">[</span>
<span class="Identifier">void</span><span class="Other">,</span> <span class="Other">(</span><span class="Identifier">CancelledError</span><span class="Other">,</span><span class="Other">)</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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/ex-handlersupport/libp2p/multistream.nim#L175"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L192"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L175" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L192" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="list,MultistreamSelect,Connection" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#list%2CMultistreamSelect%2CConnection"><span class="Identifier">list</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="Other">:</span> <span class="Identifier">Future</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> {.
<dt><pre><span class="Keyword">proc</span> <a href="#list%2CMultistreamSelect%2CConnection"><span class="Identifier">list</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="Other">:</span> <span class="Identifier">InternalRaisesFuture</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">CancelledError</span><span class="Other">,</span> <a href="stream/lpstream.html#LPStreamError"><span class="Identifier">LPStreamError</span></a><span class="Other">,</span> <a href="multistream.html#MultiStreamError"><span class="Identifier">MultiStreamError</span></a><span class="Other">)</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
list remote protos requests on connection
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L113"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L125"
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>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L125" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -465,68 +479,73 @@ class="link-seesrc" target="_blank">Source</a>
</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<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>.}</pre></dt>
<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">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">,</span>
<span class="Other">(</span><span class="Identifier">CancelledError</span><span class="Other">,</span> <a href="stream/lpstream.html#LPStreamError"><span class="Identifier">LPStreamError</span></a><span class="Other">,</span> <a href="multistream.html#MultiStreamError"><span class="Identifier">MultiStreamError</span></a><span class="Other">)</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L56"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L58"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L56" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L58" 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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<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>.}</pre></dt>
<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">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">bool</span><span class="Other">,</span>
<span class="Other">(</span><span class="Identifier">CancelledError</span><span class="Other">,</span> <a href="stream/lpstream.html#LPStreamError"><span class="Identifier">LPStreamError</span></a><span class="Other">,</span> <a href="multistream.html#MultiStreamError"><span class="Identifier">MultiStreamError</span></a><span class="Other">)</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L103"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L108"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L103" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L108" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="select,MultistreamSelect,Connection" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#select%2CMultistreamSelect%2CConnection"><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="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">bool</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>
<dt><pre><span class="Keyword">proc</span> <a href="#select%2CMultistreamSelect%2CConnection"><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="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">bool</span><span class="Other">,</span>
<span class="Other">(</span><span class="Identifier">CancelledError</span><span class="Other">,</span> <a href="stream/lpstream.html#LPStreamError"><span class="Identifier">LPStreamError</span></a><span class="Other">,</span> <a href="multistream.html#MultiStreamError"><span class="Identifier">MultiStreamError</span></a><span class="Other">)</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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/ex-handlersupport/libp2p/multistream.nim#L118"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L118" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="start,MultistreamSelect" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#start%2CMultistreamSelect"><span class="Identifier">start</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="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">,</span> <span class="Other">(</span><span class="Identifier">CancelledError</span><span class="Other">,</span><span class="Other">)</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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/ex-handlersupport/libp2p/multistream.nim#L109"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L267"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L109" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="start,MultistreamSelect" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#start%2CMultistreamSelect"><span class="Identifier">start</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="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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<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">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/ex-handlersupport/libp2p/multistream.nim#L245"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L245" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L267" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="stop,MultistreamSelect" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#stop%2CMultistreamSelect"><span class="Identifier">stop</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="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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<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">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="#stop%2CMultistreamSelect"><span class="Identifier">stop</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="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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/ex-handlersupport/libp2p/multistream.nim#L248"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/multistream.nim#L290"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L248" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L290" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -540,7 +559,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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 UTC</small>
</div>
</div>
</div>

View File

@ -399,7 +399,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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 UTC</small>
</div>
</div>
</div>

View File

@ -455,7 +455,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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 UTC</small>
</div>
</div>
</div>

View File

@ -535,7 +535,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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 UTC</small>
</div>
</div>
</div>

View File

@ -606,7 +606,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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 UTC</small>
</div>
</div>
</div>

View File

@ -360,7 +360,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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 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: 2024-03-21 14:54:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:50 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

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: 2024-03-21 14:54:37 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:47 UTC</small>
</div>
</div>
</div>

View File

@ -508,7 +508,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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 UTC</small>
</div>
</div>
</div>

View File

@ -383,7 +383,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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 UTC</small>
</div>
</div>
</div>

View File

@ -290,12 +290,12 @@ window.addEventListener("DOMContentLoaded", main2);
<ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">start
<li><a class="reference" href="#start.e%2CRelay"
title="start(r: Relay): Future[void]">start(r: Relay): Future[void]</a></li>
title="start(r: Relay): InternalRaisesFuture[void, (CancelledError,)]">start(r: Relay): InternalRaisesFuture[void, (CancelledError,)]</a></li>
</ul>
<ul class="simple nested-toc-section">stop
<li><a class="reference" href="#stop.e%2CRelay"
title="stop(r: Relay): Future[void]">stop(r: Relay): Future[void]</a></li>
title="stop(r: Relay): InternalRaisesFuture[void, void]">stop(r: Relay): InternalRaisesFuture[void, void]</a></li>
</ul>
@ -531,29 +531,30 @@ class="link-seesrc" target="_blank">Source</a>
<h1><a class="toc-backref" href="#14">Methods</a></h1>
<dl class="item">
<div id="start.e,Relay" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#start.e%2CRelay"><span class="Identifier">start</span></a><span class="Other">(</span><span class="Identifier">r</span><span class="Other">:</span> <a href="relay.html#Relay"><span class="Identifier">Relay</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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="#start.e%2CRelay"><span class="Identifier">start</span></a><span class="Other">(</span><span class="Identifier">r</span><span class="Other">:</span> <a href="relay.html#Relay"><span class="Identifier">Relay</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">,</span> <span class="Other">(</span><span class="Identifier">CancelledError</span><span class="Other">,</span><span class="Other">)</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/connectivity/relay/relay.nim#L364"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/connectivity/relay/relay.nim#L366"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/connectivity/relay/relay.nim#L364" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/connectivity/relay/relay.nim#L366" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="stop.e,Relay" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#stop.e%2CRelay"><span class="Identifier">stop</span></a><span class="Other">(</span><span class="Identifier">r</span><span class="Other">:</span> <a href="relay.html#Relay"><span class="Identifier">Relay</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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="#stop.e%2CRelay"><span class="Identifier">stop</span></a><span class="Other">(</span><span class="Identifier">r</span><span class="Other">:</span> <a href="relay.html#Relay"><span class="Identifier">Relay</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/connectivity/relay/relay.nim#L371"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/connectivity/relay/relay.nim#L376"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/connectivity/relay/relay.nim#L371" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/connectivity/relay/relay.nim#L376" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -567,7 +568,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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 UTC</small>
</div>
</div>
</div>

View File

@ -414,7 +414,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: 2024-03-21 14:54:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 UTC</small>
</div>
</div>
</div>

View File

@ -376,7 +376,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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -211,9 +211,6 @@ window.addEventListener("DOMContentLoaded", main2);
handlerImpl: LPProtoHandler ## invoked by the protocol negotiator
started*: bool
maxIncomingStreams: Opt[int]">LPProtocol</a></li>
<li><a class="reference" href="#LPProtocolHandler"
title="LPProtocolHandler[E] = proc (conn: Connection; proto: string): InternalRaisesFuture[
void, E]">LPProtocolHandler</a></li>
<li><a class="reference" href="#LPProtoHandler"
title="LPProtoHandler = proc (conn: Connection; proto: string): Future[void] {.async.}">LPProtoHandler</a></li>
@ -241,10 +238,12 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">handler=
<li><a class="reference" href="#handler%3D%2CLPProtocol%2CLPProtocolHandler"
title="handler=(p: LPProtocol; handler: LPProtocolHandler)">handler=(p: LPProtocol; handler: LPProtocolHandler)</a></li>
<li><a class="reference" href="#handler%3D%2CLPProtocol%2CLPProtoHandler"
<li><a class="reference" href="#handler%3D%2CLPProtocol%2CLPProtoHandler"
title="handler=(p: LPProtocol; handler: LPProtoHandler)">handler=(p: LPProtocol; handler: LPProtoHandler)</a></li>
<li><a class="reference" href="#handler%3D%2CLPProtocol%2Cproc%28Connection%2Cstring%29"
title="handler=[E](p: LPProtocol; handler: proc (conn: Connection; proto: string): InternalRaisesFuture[
void, E])">handler=[E](p: LPProtocol; handler: proc (conn: Connection; proto: string): InternalRaisesFuture[
void, E])</a></li>
</ul>
<ul class="simple nested-toc-section">maxIncomingStreams
@ -258,14 +257,16 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">new
<li><a class="reference" href="#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2CLPProtocolHandler"
title="new(T: type LPProtocol; codecs: seq[string]; handler: LPProtocolHandler;
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type">new(T: type LPProtocol; codecs: seq[string]; handler: LPProtocolHandler;
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
<li><a class="reference" href="#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2CLPProtoHandler"
<li><a class="reference" href="#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2CLPProtoHandler"
title="new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type">new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
<li><a class="reference" href="#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2Cproc%28Connection%2Cstring%29"
title="new[E](T: type LPProtocol; codecs: seq[string]; handler: proc (conn: Connection;
proto: string): InternalRaisesFuture[void, E];
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type">new[E](T: type LPProtocol; codecs: seq[string]; handler: proc (conn: Connection;
proto: string): InternalRaisesFuture[void, E];
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
</ul>
@ -281,12 +282,12 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">start
<li><a class="reference" href="#start.e%2CLPProtocol"
title="start(p: LPProtocol): Future[void]">start(p: LPProtocol): Future[void]</a></li>
title="start(p: LPProtocol): InternalRaisesFuture[void, (CancelledError,)]">start(p: LPProtocol): InternalRaisesFuture[void, (CancelledError,)]</a></li>
</ul>
<ul class="simple nested-toc-section">stop
<li><a class="reference" href="#stop.e%2CLPProtocol"
title="stop(p: LPProtocol): Future[void]">stop(p: LPProtocol): Future[void]</a></li>
title="stop(p: LPProtocol): InternalRaisesFuture[void, void]">stop(p: LPProtocol): InternalRaisesFuture[void, void]</a></li>
</ul>
@ -337,22 +338,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L34"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L25"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L34" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="LPProtocolHandler" class="tohide">
<dt><pre><a href="protocol.html#LPProtocolHandler"><span class="Identifier">LPProtocolHandler</span></a><span class="Other">[</span><span class="Identifier">E</span><span class="Other">]</span> <span class="Other">=</span> <span class="Keyword">proc</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">InternalRaisesFuture</span><span class="Other">[</span>
<span class="Identifier">void</span><span class="Other">,</span> <span class="Identifier">E</span><span class="Other">]</span></pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L30"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L30" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L25" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -396,9 +384,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L50"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L52"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L50" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L52" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -408,21 +396,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L54"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L56"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L54" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="handler=,LPProtocol,LPProtocolHandler" class="tohide">
<dt><pre><span class="Keyword">func</span> <a href="#handler%3D%2CLPProtocol%2CLPProtocolHandler"><span class="Identifier">handler=</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <a href="protocol.html#LPProtocolHandler"><span class="Identifier">LPProtocolHandler</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>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L69"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L69" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L56" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -432,9 +408,22 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L66"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L68"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L66" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L68" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="handler=,LPProtocol,proc(Connection,string)" class="tohide">
<dt><pre><span class="Keyword">func</span> <a href="#handler%3D%2CLPProtocol%2Cproc%28Connection%2Cstring%29"><span class="Identifier">handler=</span></a><span class="Other">[</span><span class="Identifier">E</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <span class="Keyword">proc</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">InternalRaisesFuture</span><span class="Other">[</span>
<span class="Identifier">void</span><span class="Other">,</span> <span class="Identifier">E</span><span class="Other">]</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>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L77"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L77" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -444,9 +433,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L44"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L46"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L44" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L46" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -456,23 +445,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L47"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L49"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L47" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="new,typeLPProtocol,seq[string],LPProtocolHandler" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2CLPProtocolHandler"><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">LPProtocol</span><span class="Other">;</span> <span class="Identifier">codecs</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">handler</span><span class="Other">:</span> <a href="protocol.html#LPProtocolHandler"><span class="Identifier">LPProtocolHandler</span></a><span class="Other">;</span>
<span class="Identifier">maxIncomingStreams</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">int</span><span class="Other">]</span> <span class="Operator">|</span> <span class="Identifier">int</span> <span class="Other">=</span> <span class="Identifier">Opt</span><span class="Other">.</span><span class="Identifier">none</span><span class="Other">(</span><span class="Identifier">int</span><span class="Other">)</span><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/ex-handlersupport/libp2p/protocols/protocol.nim#L87"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L87" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L49" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -484,9 +459,24 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L74"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L86"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L74" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L86" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="new,typeLPProtocol,seq[string],proc(Connection,string)" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2Cproc%28Connection%2Cstring%29"><span class="Identifier">new</span></a><span class="Other">[</span><span class="Identifier">E</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Keyword">type</span> <span class="Identifier">LPProtocol</span><span class="Other">;</span> <span class="Identifier">codecs</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">handler</span><span class="Other">:</span> <span class="Keyword">proc</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">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">,</span> <span class="Identifier">E</span><span class="Other">]</span><span class="Other">;</span>
<span class="Identifier">maxIncomingStreams</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">int</span><span class="Other">]</span> <span class="Operator">|</span> <span class="Identifier">int</span> <span class="Other">=</span> <span class="Identifier">Opt</span><span class="Other">.</span><span class="Identifier">none</span><span class="Other">(</span><span class="Identifier">int</span><span class="Other">)</span><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/ex-handlersupport/libp2p/protocols/protocol.nim#L99"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L99" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -501,35 +491,36 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L40"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L31"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L40" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L31" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="start.e,LPProtocol" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#start.e%2CLPProtocol"><span class="Identifier">start</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</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> <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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<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">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="#start.e%2CLPProtocol"><span class="Identifier">start</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">,</span> <span class="Other">(</span><span class="Identifier">CancelledError</span><span class="Other">,</span><span class="Other">)</span><span class="Other">]</span> {.
<span class="Identifier">base</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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/ex-handlersupport/libp2p/protocols/protocol.nim#L41"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L34"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L41" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L34" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="stop.e,LPProtocol" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#stop.e%2CLPProtocol"><span class="Identifier">stop</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</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> <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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<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">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="#stop.e%2CLPProtocol"><span class="Identifier">stop</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">,</span> <span class="Identifier">void</span><span class="Other">]</span> {.<span class="Identifier">base</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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/ex-handlersupport/libp2p/protocols/protocol.nim#L42"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L40"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L42" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L40" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -544,9 +535,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L59"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L61"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L59" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L61" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -556,9 +547,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L62"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/protocol.nim#L64"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L62" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L64" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -572,7 +563,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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

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: 2024-03-21 14:54:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:53 UTC</small>
</div>
</div>
</div>

View File

@ -398,9 +398,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/floodsub.nim#L165"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/floodsub.nim#L168"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L165" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L168" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -411,9 +411,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/floodsub.nim#L231"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/floodsub.nim#L234"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L231" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L234" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -425,9 +425,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/floodsub.nim#L185"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/floodsub.nim#L188"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L185" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L188" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -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: 2024-03-21 14:54:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:54 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -496,7 +496,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: 2024-03-21 14:54:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:54 UTC</small>
</div>
</div>
</div>

View File

@ -244,10 +244,10 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">rewardDelivered
<li><a class="reference" href="#rewardDelivered%2CGossipSub%2CPubSubPeer%2CopenArray%5Bstring%5D%2Cbool"
title="rewardDelivered(g: GossipSub; peer: PubSubPeer; topics: openArray[string];
first: bool; delay = ZeroDuration)">rewardDelivered(g: GossipSub; peer: PubSubPeer; topics: openArray[string];
first: bool; delay = ZeroDuration)</a></li>
<li><a class="reference" href="#rewardDelivered%2CGossipSub%2CPubSubPeer%2Cstring%2Cbool"
title="rewardDelivered(g: GossipSub; peer: PubSubPeer; topic: string; first: bool;
delay = ZeroDuration)">rewardDelivered(g: GossipSub; peer: PubSubPeer; topic: string; first: bool;
delay = ZeroDuration)</a></li>
</ul>
<ul class="simple nested-toc-section">scoringHeartbeat
@ -314,9 +314,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/gossipsub/scoring.nim#L264"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/gossipsub/scoring.nim#L261"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L264" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L261" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -383,17 +383,16 @@ class="link-seesrc" target="_blank">Source</a>
</dd>
</div>
<div id="rewardDelivered,GossipSub,PubSubPeer,openArray[string],bool" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#rewardDelivered%2CGossipSub%2CPubSubPeer%2CopenArray%5Bstring%5D%2Cbool"><span class="Identifier">rewardDelivered</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">topics</span><span class="Other">:</span> <span class="Identifier">openArray</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span><span class="Other">;</span>
<span class="Identifier">first</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">;</span> <span class="Identifier">delay</span> <span class="Other">=</span> <span class="Identifier">ZeroDuration</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="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<div id="rewardDelivered,GossipSub,PubSubPeer,string,bool" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#rewardDelivered%2CGossipSub%2CPubSubPeer%2Cstring%2Cbool"><span class="Identifier">rewardDelivered</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">first</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">;</span>
<span class="Identifier">delay</span> <span class="Other">=</span> <span class="Identifier">ZeroDuration</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="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/gossipsub/scoring.nim#L267"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/gossipsub/scoring.nim#L264"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L267" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L264" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -447,7 +446,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: 2024-03-21 14:54:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:54 UTC</small>
</div>
</div>
</div>

View File

@ -780,7 +780,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: 2024-03-21 14:54:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:54 UTC</small>
</div>
</div>
</div>

View File

@ -208,7 +208,7 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#CacheEntry"
title="CacheEntry = object
mid*: MessageId
topicIds*: seq[string]">CacheEntry</a></li>
topic*: string">CacheEntry</a></li>
<li><a class="reference" href="#MCache"
title="MCache = object of RootObj
msgs*: Table[MessageId, Message]
@ -283,7 +283,7 @@ class="link-seesrc" target="_blank">Source</a>
<div id="CacheEntry" class="tohide">
<dt><pre><a href="mcache.html#CacheEntry"><span class="Identifier">CacheEntry</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
<span class="Identifier">mid</span><span class="Operator">*</span><span class="Other">:</span> <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a>
<span class="Identifier">topicIds</span><span class="Operator">*</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="Identifier">topic</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
</pre></dt>
<dd>
@ -346,9 +346,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/mcache.nim#L59"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/mcache.nim#L57"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L59" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L57" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -370,9 +370,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/mcache.nim#L53"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/mcache.nim#L51"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L53" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L51" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -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: 2024-03-21 14:54:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:54 UTC</small>
</div>
</div>
</div>

View File

@ -370,7 +370,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: 2024-03-21 14:54:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:53 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/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L618"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L616"
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#L618" 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#L616" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -844,9 +844,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L326"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L324"
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#L326" 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#L324" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -865,9 +865,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L563"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L561"
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#L563" 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#L561" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -878,9 +878,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L620"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L618"
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#L620" 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#L618" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -931,9 +931,9 @@ class="link-seesrc" target="_blank">Source</a>
</dl>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L464"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L462"
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#L464" 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#L462" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -944,9 +944,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/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L433"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L431"
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#L433" 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#L431" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -957,9 +957,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/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L448"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L446"
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#L448" 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#L446" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -970,9 +970,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/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L453"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/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#L453" 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>
@ -1000,9 +1000,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/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L513"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L511"
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#L513" 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#L511" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1013,9 +1013,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L298"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L296"
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#L298" 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#L296" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1033,9 +1033,9 @@ class="link-seesrc" target="_blank">Source</a>
</ol>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L363"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L361"
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#L363" 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#L361" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1046,9 +1046,9 @@ class="link-seesrc" target="_blank">Source</a>
perform pubsub initialization
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L506"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L504"
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#L504" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1059,9 +1059,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L289"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L287"
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#L289" 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#L287" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1072,9 +1072,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L416"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L414"
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#L414" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1088,9 +1088,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/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L494"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L492"
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#L494" 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#L492" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1101,9 +1101,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L523"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L521"
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#L523" 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#L521" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1115,9 +1115,9 @@ class="link-seesrc" target="_blank">Source</a>
Handler that must be overridden by concrete implementation
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L283"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L281"
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#L283" 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#L281" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1128,9 +1128,9 @@ class="link-seesrc" target="_blank">Source</a>
subscribe to remote peer to receive/send pubsub messages
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L392"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L390"
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#L392" 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#L390" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1155,9 +1155,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L532"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/pubsub.nim#L530"
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#L532" 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#L530" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1166,7 +1166,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="19">
<h1><a class="toc-backref" href="#19">Exports</a></h1>
<dl class="item">
<a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a>, <a href="pubsubpeer.html#PubSubObserver"><span class="Identifier">PubSubObserver</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtocolHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocolHandler"><span class="Identifier">LPProtocolHandler</span></a>, <a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#handler.t,LPProtocol,Connection,string"><span class="Identifier">handler</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#handler=,LPProtocol,LPProtocolHandler"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#handler.t,LPProtocol"><span class="Identifier">handler</span></a>, <a href="../protocol.html#handler=,LPProtocol,LPProtoHandler"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>, <a href="errors.html#ValidationResult"><span class="Identifier">ValidationResult</span></a>
<a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a>, <a href="pubsubpeer.html#PubSubObserver"><span class="Identifier">PubSubObserver</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],proc(Connection,string)"><span class="Identifier">new</span></a>, <a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#handler.t,LPProtocol,Connection,string"><span class="Identifier">handler</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#handler=,LPProtocol,proc(Connection,string)"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#handler.t,LPProtocol"><span class="Identifier">handler</span></a>, <a href="../protocol.html#handler=,LPProtocol,LPProtoHandler"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>, <a href="errors.html#ValidationResult"><span class="Identifier">ValidationResult</span></a>
</dl></div>
</div>
@ -1176,7 +1176,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: 2024-03-21 14:54:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:53 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: 2024-03-21 14:54:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:53 UTC</small>
</div>
</div>
</div>

View File

@ -207,14 +207,14 @@ window.addEventListener("DOMContentLoaded", main2);
<ul class="simple simple-toc-section">
<li><a class="reference" href="#ControlGraft"
title="ControlGraft = object
topicId*: string">ControlGraft</a></li>
topicID*: string">ControlGraft</a></li>
<li><a class="reference" href="#ControlIHave"
title="ControlIHave = object
topicId*: string
messageIds*: seq[MessageId]">ControlIHave</a></li>
topicID*: string
messageIDs*: seq[MessageId]">ControlIHave</a></li>
<li><a class="reference" href="#ControlIWant"
title="ControlIWant = object
messageIds*: seq[MessageId]">ControlIWant</a></li>
messageIDs*: seq[MessageId]">ControlIWant</a></li>
<li><a class="reference" href="#ControlMessage"
title="ControlMessage = object
ihave*: seq[ControlIHave]
@ -224,7 +224,7 @@ window.addEventListener("DOMContentLoaded", main2);
idontwant*: seq[ControlIWant]">ControlMessage</a></li>
<li><a class="reference" href="#ControlPrune"
title="ControlPrune = object
topicId*: string
topicID*: string
peers*: seq[PeerInfoMsg]
backoff*: uint64">ControlPrune</a></li>
<li><a class="reference" href="#Message"
@ -232,7 +232,7 @@ window.addEventListener("DOMContentLoaded", main2);
fromPeer*: PeerId
data*: seq[byte]
seqno*: seq[byte]
topicIds*: seq[string]
topic*: string
signature*: seq[byte]
key*: seq[byte]">Message</a></li>
<li><a class="reference" href="#MessageId"
@ -319,7 +319,7 @@ class="link-seesrc" target="_blank">Source</a>
<dl class="item">
<div id="ControlGraft" class="tohide">
<dt><pre><a href="messages.html#ControlGraft"><span class="Identifier">ControlGraft</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
<span class="Identifier">topicId</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
<span class="Identifier">topicID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
</pre></dt>
<dd>
@ -333,8 +333,8 @@ class="link-seesrc" target="_blank">Source</a>
</div>
<div id="ControlIHave" class="tohide">
<dt><pre><a href="messages.html#ControlIHave"><span class="Identifier">ControlIHave</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
<span class="Identifier">topicId</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
<span class="Identifier">messageIds</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">]</span>
<span class="Identifier">topicID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
<span class="Identifier">messageIDs</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">]</span>
</pre></dt>
<dd>
@ -348,7 +348,7 @@ class="link-seesrc" target="_blank">Source</a>
</div>
<div id="ControlIWant" class="tohide">
<dt><pre><a href="messages.html#ControlIWant"><span class="Identifier">ControlIWant</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
<span class="Identifier">messageIds</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">]</span>
<span class="Identifier">messageIDs</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">]</span>
</pre></dt>
<dd>
@ -380,7 +380,7 @@ class="link-seesrc" target="_blank">Source</a>
</div>
<div id="ControlPrune" class="tohide">
<dt><pre><a href="messages.html#ControlPrune"><span class="Identifier">ControlPrune</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
<span class="Identifier">topicId</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
<span class="Identifier">topicID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
<span class="Identifier">peers</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="messages.html#PeerInfoMsg"><span class="Identifier">PeerInfoMsg</span></a><span class="Other">]</span>
<span class="Identifier">backoff</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint64</span>
</pre></dt>
@ -399,7 +399,7 @@ class="link-seesrc" target="_blank">Source</a>
<span class="Identifier">fromPeer</span><span class="Operator">*</span><span class="Other">:</span> <a href="../../../peerid.html#PeerId"><span class="Identifier">PeerId</span></a>
<span class="Identifier">data</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span>
<span class="Identifier">seqno</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span>
<span class="Identifier">topicIds</span><span class="Operator">*</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="Identifier">topic</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
<span class="Identifier">signature</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span>
<span class="Identifier">key</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span>
</pre></dt>
@ -645,7 +645,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: 2024-03-21 14:54:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:53 UTC</small>
</div>
</div>
</div>

View File

@ -320,9 +320,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L204"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L203"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L204" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L203" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -333,9 +333,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L129"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L128"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L129" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L128" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -346,9 +346,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L175"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L174"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L175" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L174" 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/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L192"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L191"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L192" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L191" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -372,9 +372,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L271"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L270"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L271" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L270" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -398,9 +398,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L142"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L141"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L142" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L141" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -411,9 +411,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L156"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L155"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L156" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L155" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -437,9 +437,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L239"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L238"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L239" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L238" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -450,9 +450,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L257"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L256"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L257" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L256" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -554,9 +554,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L126"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/pubsub/rpc/protobuf.nim#L125"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L126" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L125" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -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: 2024-03-21 14:54:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:53 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: 2024-03-21 14:54:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:53 UTC</small>
</div>
</div>
</div>

View File

@ -284,12 +284,12 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">start
<li><a class="reference" href="#start.e%2CRendezVous"
title="start(rdv: RendezVous): Future[void]">start(rdv: RendezVous): Future[void]</a></li>
title="start(rdv: RendezVous): InternalRaisesFuture[void, (CancelledError,)]">start(rdv: RendezVous): InternalRaisesFuture[void, (CancelledError,)]</a></li>
</ul>
<ul class="simple nested-toc-section">stop
<li><a class="reference" href="#stop.e%2CRendezVous"
title="stop(rdv: RendezVous): Future[void]">stop(rdv: RendezVous): Future[void]</a></li>
title="stop(rdv: RendezVous): InternalRaisesFuture[void, void]">stop(rdv: RendezVous): InternalRaisesFuture[void, void]</a></li>
</ul>
@ -495,28 +495,30 @@ class="link-seesrc" target="_blank">Source</a>
</dd>
</div>
<div id="start.e,RendezVous" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#start.e%2CRendezVous"><span class="Identifier">start</span></a><span class="Other">(</span><span class="Identifier">rdv</span><span class="Other">:</span> <a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<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">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="#start.e%2CRendezVous"><span class="Identifier">start</span></a><span class="Other">(</span><span class="Identifier">rdv</span><span class="Other">:</span> <a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">,</span> <span class="Other">(</span><span class="Identifier">CancelledError</span><span class="Other">,</span><span class="Other">)</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/rendezvous.nim#L681"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/rendezvous.nim#L683"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L681" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L683" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="stop.e,RendezVous" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#stop.e%2CRendezVous"><span class="Identifier">stop</span></a><span class="Other">(</span><span class="Identifier">rdv</span><span class="Other">:</span> <a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<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">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="#stop.e%2CRendezVous"><span class="Identifier">stop</span></a><span class="Other">(</span><span class="Identifier">rdv</span><span class="Other">:</span> <a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/rendezvous.nim#L688"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/protocols/rendezvous.nim#L693"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L688" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L693" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -530,7 +532,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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 UTC</small>
</div>
</div>
</div>

View File

@ -570,7 +570,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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 UTC</small>
</div>
</div>
</div>

View File

@ -548,7 +548,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="19">
<h1><a class="toc-backref" href="#19">Exports</a></h1>
<dl class="item">
<a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtocolHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocolHandler"><span class="Identifier">LPProtocolHandler</span></a>, <a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#handler.t,LPProtocol,Connection,string"><span class="Identifier">handler</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#handler=,LPProtocol,LPProtocolHandler"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#handler.t,LPProtocol"><span class="Identifier">handler</span></a>, <a href="../protocol.html#handler=,LPProtocol,LPProtoHandler"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>
<a href="../protocol.html#new,typeLPProtocol,seq[string],proc(Connection,string)"><span class="Identifier">new</span></a>, <a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#handler.t,LPProtocol,Connection,string"><span class="Identifier">handler</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#handler=,LPProtocol,proc(Connection,string)"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#handler.t,LPProtocol"><span class="Identifier">handler</span></a>, <a href="../protocol.html#handler=,LPProtocol,LPProtoHandler"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>
</dl></div>
</div>
@ -558,7 +558,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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -504,7 +504,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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -1009,7 +1009,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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 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: 2024-03-21 14:54:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:50 UTC</small>
</div>
</div>
</div>

View File

@ -476,7 +476,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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 UTC</small>
</div>
</div>
</div>

View File

@ -270,7 +270,9 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">upgrade
<li><a class="reference" href="#upgrade.e%2CTransport%2CConnection%2COpt%5BPeerId%5D"
title="upgrade(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[Muxer]">upgrade(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[Muxer]</a></li>
title="upgrade(self: Transport; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Muxer, (CancelledError, LPError)]">upgrade(self: Transport; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Muxer, (CancelledError, LPError)]</a></li>
</ul>
@ -427,9 +429,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/ex-handlersupport/libp2p/transports/transport.nim#L93"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/transports/transport.nim#L94"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L93" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L94" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -461,15 +463,16 @@ class="link-seesrc" target="_blank">Source</a>
</dd>
</div>
<div id="upgrade.e,Transport,Connection,Opt[PeerId]" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#upgrade.e%2CTransport%2CConnection%2COpt%5BPeerId%5D"><span class="Identifier">upgrade</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="../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>
<dt><pre><span class="Keyword">method</span> <a href="#upgrade.e%2CTransport%2CConnection%2COpt%5BPeerId%5D"><span class="Identifier">upgrade</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">InternalRaisesFuture</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">CancelledError</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">base</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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<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">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/ex-handlersupport/libp2p/transports/transport.nim#L83"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/transports/transport.nim#L87"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L83" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L87" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -488,7 +491,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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 UTC</small>
</div>
</div>
</div>

View File

@ -583,7 +583,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: 2024-03-21 14:54:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:53 UTC</small>
</div>
</div>
</div>

View File

@ -215,12 +215,7 @@ 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">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>
<ul class="simple nested-toc-section">new
<ul class="simple nested-toc-section">new
<li><a class="reference" href="#new%2CtypeMuxedUpgrade%2Cseq%5BMuxerProvider%5D%2CopenArray%5BSecure%5D%2CMultistreamSelect"
title="new(T: type MuxedUpgrade; muxers: seq[MuxerProvider];
secureManagers: openArray[Secure] = []; ms: MultistreamSelect): T:type">new(T: type MuxedUpgrade; muxers: seq[MuxerProvider];
@ -235,7 +230,9 @@ window.addEventListener("DOMContentLoaded", main2);
<ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">upgrade
<li><a class="reference" href="#upgrade.e%2CMuxedUpgrade%2CConnection%2COpt%5BPeerId%5D"
title="upgrade(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[Muxer]">upgrade(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[Muxer]</a></li>
title="upgrade(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Muxer, (CancelledError, LPError)]">upgrade(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Muxer, (CancelledError, LPError)]</a></li>
</ul>
@ -288,20 +285,6 @@ 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="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 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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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/ex-handlersupport/libp2p/upgrademngrs/muxedupgrade.nim#L35"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L35" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="new,typeMuxedUpgrade,seq[MuxerProvider],openArray[Secure],MultistreamSelect" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#new%2CtypeMuxedUpgrade%2Cseq%5BMuxerProvider%5D%2CopenArray%5BSecure%5D%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">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> {.
@ -310,9 +293,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/upgrademngrs/muxedupgrade.nim#L88"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/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#L88" 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>
@ -322,16 +305,17 @@ class="link-seesrc" target="_blank">Source</a>
<h1><a class="toc-backref" href="#14">Methods</a></h1>
<dl class="item">
<div id="upgrade.e,MuxedUpgrade,Connection,Opt[PeerId]" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#upgrade.e%2CMuxedUpgrade%2CConnection%2COpt%5BPeerId%5D"><span class="Identifier">upgrade</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="../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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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="#upgrade.e%2CMuxedUpgrade%2CConnection%2COpt%5BPeerId%5D"><span class="Identifier">upgrade</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">InternalRaisesFuture</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">CancelledError</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">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">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <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">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/ex-handlersupport/libp2p/upgrademngrs/muxedupgrade.nim#L64"
href="https://github.com/status-im/nim-libp2p/tree/ex-handlersupport/libp2p/upgrademngrs/muxedupgrade.nim#L73"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L64" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L73" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -350,7 +334,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: 2024-03-21 14:54:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -444,7 +444,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: 2024-03-21 14:54:37 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:47 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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:52 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: 2024-03-21 14:54:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 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: 2024-03-21 14:54:37 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:47 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: 2024-03-21 14:54:39 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:49 UTC</small>
</div>
</div>
</div>

View File

@ -604,7 +604,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: 2024-03-21 14:54:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:51 UTC</small>
</div>
</div>
</div>

View File

@ -257,9 +257,11 @@ window.addEventListener('DOMContentLoaded', main);
matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cseq%5Bstring%5D%2CLPProtocol%2CMatcher">multistream: addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol;
matcher: Matcher = nil)</a></li>
<li><a class="reference external"
data-doc-search-tag="multistream: addHandler(m: MultistreamSelect; codec: string;
handler: LPProtoHandler | LPProtocolHandler; matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cstring%2C%2CMatcher">multistream: addHandler(m: MultistreamSelect; codec: string;
handler: LPProtoHandler | LPProtocolHandler; matcher: Matcher = nil)</a></li>
data-doc-search-tag="multistream: addHandler[E](m: MultistreamSelect; codec: string; handler: LPProtoHandler |
proc (conn: Connection; proto: string): InternalRaisesFuture[void, E];
matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cstring%2C%2CMatcher">multistream: addHandler[E](m: MultistreamSelect; codec: string; handler: LPProtoHandler |
proc (conn: Connection; proto: string): InternalRaisesFuture[void, E];
matcher: Matcher = nil)</a></li>
<li><a class="reference external"
data-doc-search-tag="multistream: addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher">multistream: addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
@ -883,16 +885,6 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="wire: createAsyncSocket(ma: MultiAddress): AsyncFD" href="libp2p/wire.html#createAsyncSocket%2CMultiAddress">wire: createAsyncSocket(ma: MultiAddress): AsyncFD</a></li>
</ul></dd>
<dt><a name="createExchange" href="#createExchange"><span>createExchange:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="crypto: createExchange(epubkey, signature: openArray[byte]): seq[byte]" href="libp2p/crypto/crypto.html#createExchange%2CopenArray%5Bbyte%5D%2CopenArray%5Bbyte%5D">crypto: createExchange(epubkey, signature: openArray[byte]): seq[byte]</a></li>
</ul></dd>
<dt><a name="createProposal" href="#createProposal"><span>createProposal:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="crypto: createProposal(nonce, pubkey: openArray[byte];
exchanges, ciphers, hashes: string): seq[byte]" href="libp2p/crypto/crypto.html#createProposal%2CopenArray%5Bbyte%5D%2CopenArray%5Bbyte%5D%2Cstring%2Cstring%2Cstring">crypto: createProposal(nonce, pubkey: openArray[byte];
exchanges, ciphers, hashes: string): seq[byte]</a></li>
</ul></dd>
<dt><a name="createStreamServer" href="#createStreamServer"><span>createStreamServer:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="wire: createStreamServer[T](ma: MultiAddress; flags: set[ServerFlags] = {};
@ -1009,10 +1001,6 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="multibase: decodedLength(mbtype: typedesc[MultiBase]; encoding: char; length: int): int" href="libp2p/multibase.html#decodedLength%2Ctypedesc%5BMultiBase%5D%2Cchar%2Cint">multibase: decodedLength(mbtype: typedesc[MultiBase]; encoding: char; length: int): int</a></li>
</ul></dd>
<dt><a name="decodeExchange" href="#decodeExchange"><span>decodeExchange:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="crypto: decodeExchange(message: seq[byte]; pubkey, signature: var seq[byte]): bool" href="libp2p/crypto/crypto.html#decodeExchange%2Cseq%5Bbyte%5D%2Cseq%5Bbyte%5D%2Cseq%5Bbyte%5D">crypto: decodeExchange(message: seq[byte]; pubkey, signature: var seq[byte]): bool</a></li>
</ul></dd>
<dt><a name="decodeGraft" href="#decodeGraft"><span>decodeGraft:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="protobuf: decodeGraft(pb: ProtoBuffer): ProtoResult[ControlGraft]" href="libp2p/protocols/pubsub/rpc/protobuf.html#decodeGraft%2CProtoBuffer">protobuf: decodeGraft(pb: ProtoBuffer): ProtoResult[ControlGraft]</a></li>
@ -1041,12 +1029,6 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="protobuf: decodePeerInfoMsg(pb: ProtoBuffer): ProtoResult[PeerInfoMsg]" href="libp2p/protocols/pubsub/rpc/protobuf.html#decodePeerInfoMsg%2CProtoBuffer">protobuf: decodePeerInfoMsg(pb: ProtoBuffer): ProtoResult[PeerInfoMsg]</a></li>
</ul></dd>
<dt><a name="decodeProposal" href="#decodeProposal"><span>decodeProposal:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="crypto: decodeProposal(message: seq[byte]; nonce, pubkey: var seq[byte];
exchanges, ciphers, hashes: var string): bool" href="libp2p/crypto/crypto.html#decodeProposal%2Cseq%5Bbyte%5D%2Cseq%5Bbyte%5D%2Cseq%5Bbyte%5D%2Cstring%2Cstring%2Cstring">crypto: decodeProposal(message: seq[byte]; nonce, pubkey: var seq[byte];
exchanges, ciphers, hashes: var string): bool</a></li>
</ul></dd>
<dt><a name="decodePrune" href="#decodePrune"><span>decodePrune:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="protobuf: decodePrune(pb: ProtoBuffer): ProtoResult[ControlPrune]" href="libp2p/protocols/pubsub/rpc/protobuf.html#decodePrune%2CProtoBuffer">protobuf: decodePrune(pb: ProtoBuffer): ProtoResult[ControlPrune]</a></li>
@ -1923,13 +1905,15 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="handle" href="#handle"><span>handle:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
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>
data-doc-search-tag="multistream: handle(m: MultistreamSelect; conn: Connection; active: bool = false): InternalRaisesFuture[
void, (CancelledError,)]" href="libp2p/multistream.html#handle%2CMultistreamSelect%2CConnection%2Cbool">multistream: handle(m: MultistreamSelect; conn: Connection; active: bool = false): InternalRaisesFuture[
void, (CancelledError,)]</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>
matchers = newSeq[Matcher](); active: bool = false): InternalRaisesFuture[
string, (CancelledError, LPStreamError, MultiStreamError)]" 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): InternalRaisesFuture[
string, (CancelledError, LPStreamError, MultiStreamError)]</a></li>
<li><a class="reference external"
data-doc-search-tag="muxer: handle(m: Muxer): InternalRaisesFuture[void, void]" href="libp2p/muxers/muxer.html#handle.e%2CMuxer">muxer: handle(m: Muxer): InternalRaisesFuture[void, void]</a></li>
<li><a class="reference external"
@ -1989,9 +1973,11 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="handler%3D" href="#handler%3D"><span>handler=:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="protocol: handler=(p: LPProtocol; handler: LPProtocolHandler)" href="libp2p/protocols/protocol.html#handler%3D%2CLPProtocol%2CLPProtocolHandler">protocol: handler=(p: LPProtocol; handler: LPProtocolHandler)</a></li>
<li><a class="reference external"
data-doc-search-tag="protocol: handler=(p: LPProtocol; handler: LPProtoHandler)" href="libp2p/protocols/protocol.html#handler%3D%2CLPProtocol%2CLPProtoHandler">protocol: handler=(p: LPProtocol; handler: LPProtoHandler)</a></li>
<li><a class="reference external"
data-doc-search-tag="protocol: handler=[E](p: LPProtocol; handler: proc (conn: Connection; proto: string): InternalRaisesFuture[
void, E])" href="libp2p/protocols/protocol.html#handler%3D%2CLPProtocol%2Cproc%28Connection%2Cstring%29">protocol: handler=[E](p: LPProtocol; handler: proc (conn: Connection; proto: string): InternalRaisesFuture[
void, E])</a></li>
</ul></dd>
<dt><a name="HandlerHolder" href="#HandlerHolder"><span>HandlerHolder:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -2751,7 +2737,9 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="list" href="#list"><span>list:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="multistream: list(m: MultistreamSelect; conn: Connection): Future[seq[string]]" href="libp2p/multistream.html#list%2CMultistreamSelect%2CConnection">multistream: list(m: MultistreamSelect; conn: Connection): Future[seq[string]]</a></li>
data-doc-search-tag="multistream: list(m: MultistreamSelect; conn: Connection): InternalRaisesFuture[seq[string],
(CancelledError, LPStreamError, MultiStreamError)]" href="libp2p/multistream.html#list%2CMultistreamSelect%2CConnection">multistream: list(m: MultistreamSelect; conn: Connection): InternalRaisesFuture[seq[string],
(CancelledError, LPStreamError, MultiStreamError)]</a></li>
</ul></dd>
<dt><a name="low" href="#low"><span>low:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -2769,10 +2757,6 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="protocol: LPProtocol" href="libp2p/protocols/protocol.html#LPProtocol">protocol: LPProtocol</a></li>
</ul></dd>
<dt><a name="LPProtocolHandler" href="#LPProtocolHandler"><span>LPProtocolHandler:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="protocol: LPProtocolHandler" href="libp2p/protocols/protocol.html#LPProtocolHandler">protocol: LPProtocolHandler</a></li>
</ul></dd>
<dt><a name="LPProtoHandler" href="#LPProtoHandler"><span>LPProtoHandler:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="protocol: LPProtoHandler" href="libp2p/protocols/protocol.html#LPProtoHandler">protocol: LPProtoHandler</a></li>
@ -3051,10 +3035,6 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="multistream: MultistreamSelect" href="libp2p/multistream.html#MultistreamSelect">multistream: MultistreamSelect</a></li>
</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>
</ul></dd>
<dt><a name="MuxedUpgrade" href="#MuxedUpgrade"><span>MuxedUpgrade:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="muxedupgrade: MuxedUpgrade" href="libp2p/upgrademngrs/muxedupgrade.html#MuxedUpgrade">muxedupgrade: MuxedUpgrade</a></li>
@ -3174,14 +3154,16 @@ window.addEventListener('DOMContentLoaded', main);
data-doc-search-tag="ping: new(T: typedesc[Ping]; handler: PingHandler = nil;
rng: ref HmacDrbgContext = newRng()): T:type" href="libp2p/protocols/ping.html#new%2Ctypedesc%5BPing%5D%2CPingHandler%2Cref.HmacDrbgContext">ping: new(T: typedesc[Ping]; handler: PingHandler = nil;
rng: ref HmacDrbgContext = newRng()): T:type</a></li>
<li><a class="reference external"
data-doc-search-tag="protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtocolHandler;
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type" href="libp2p/protocols/protocol.html#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2CLPProtocolHandler">protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtocolHandler;
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
<li><a class="reference external"
data-doc-search-tag="protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type" href="libp2p/protocols/protocol.html#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2CLPProtoHandler">protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
<li><a class="reference external"
data-doc-search-tag="protocol: new[E](T: type LPProtocol; codecs: seq[string]; handler: proc (conn: Connection;
proto: string): InternalRaisesFuture[void, E];
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type" href="libp2p/protocols/protocol.html#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2Cproc%28Connection%2Cstring%29">protocol: new[E](T: type LPProtocol; codecs: seq[string]; handler: proc (conn: Connection;
proto: string): InternalRaisesFuture[void, E];
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
<li><a class="reference external"
data-doc-search-tag="pubsubpeer: new(T: typedesc[PubSubPeer]; peerId: PeerId; getConn: GetConn; onEvent: OnEvent;
codec: string; maxMessageSize: int;
@ -3795,9 +3777,7 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="rateLimit" href="#rateLimit"><span>rateLimit:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="gossipsub: rateLimit(g: GossipSub; peer: PubSubPeer; rpcMsgOpt: Opt[RPCMsg]; msgSize: int): Future[
void]" href="libp2p/protocols/pubsub/gossipsub.html#rateLimit%2CGossipSub%2CPubSubPeer%2COpt%5BRPCMsg%5D%2Cint">gossipsub: rateLimit(g: GossipSub; peer: PubSubPeer; rpcMsgOpt: Opt[RPCMsg]; msgSize: int): Future[
void]</a></li>
data-doc-search-tag="gossipsub: rateLimit(g: GossipSub; peer: PubSubPeer; overhead: int): Future[void]" href="libp2p/protocols/pubsub/gossipsub.html#rateLimit%2CGossipSub%2CPubSubPeer%2Cint">gossipsub: rateLimit(g: GossipSub; peer: PubSubPeer; overhead: int): Future[void]</a></li>
</ul></dd>
<dt><a name="read" href="#read"><span>read:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -4071,9 +4051,9 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="rewardDelivered" href="#rewardDelivered"><span>rewardDelivered:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="scoring: rewardDelivered(g: GossipSub; peer: PubSubPeer; topics: openArray[string];
first: bool; delay = ZeroDuration)" href="libp2p/protocols/pubsub/gossipsub/scoring.html#rewardDelivered%2CGossipSub%2CPubSubPeer%2CopenArray%5Bstring%5D%2Cbool">scoring: rewardDelivered(g: GossipSub; peer: PubSubPeer; topics: openArray[string];
first: bool; delay = ZeroDuration)</a></li>
data-doc-search-tag="scoring: rewardDelivered(g: GossipSub; peer: PubSubPeer; topic: string; first: bool;
delay = ZeroDuration)" href="libp2p/protocols/pubsub/gossipsub/scoring.html#rewardDelivered%2CGossipSub%2CPubSubPeer%2Cstring%2Cbool">scoring: rewardDelivered(g: GossipSub; peer: PubSubPeer; topic: string; first: bool;
delay = ZeroDuration)</a></li>
</ul></dd>
<dt><a name="RoutingRecordsHandler" href="#RoutingRecordsHandler"><span>RoutingRecordsHandler:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -4269,7 +4249,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; peerId: Opt[PeerId]): InternalRaisesFuture[
Connection, (CancelledError, LPError)]" href="libp2p/upgrademngrs/upgrade.html#secure%2CUpgrade%2CConnection%2COpt%5BPeerId%5D">upgrade: secure(self: Upgrade; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Connection, (CancelledError, LPError)]</a></li>
</ul></dd>
<dt><a name="SecureConn" href="#SecureConn"><span>SecureConn:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -4286,14 +4268,20 @@ window.addEventListener('DOMContentLoaded', main);
<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>
proto: seq[string]): InternalRaisesFuture[string,
(CancelledError, LPStreamError, MultiStreamError)]" href="libp2p/multistream.html#select%2C%2CConnection%2Cseq%5Bstring%5D">multistream: select(_: MultistreamSelect | type MultistreamSelect; conn: Connection;
proto: seq[string]): InternalRaisesFuture[string,
(CancelledError, LPStreamError, MultiStreamError)]</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>
proto: string): InternalRaisesFuture[bool,
(CancelledError, LPStreamError, MultiStreamError)]" href="libp2p/multistream.html#select%2C%2CConnection%2Cstring">multistream: select(_: MultistreamSelect | type MultistreamSelect; conn: Connection;
proto: string): InternalRaisesFuture[bool,
(CancelledError, LPStreamError, MultiStreamError)]</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>
data-doc-search-tag="multistream: select(m: MultistreamSelect; conn: Connection): InternalRaisesFuture[bool,
(CancelledError, LPStreamError, MultiStreamError)]" href="libp2p/multistream.html#select%2CMultistreamSelect%2CConnection">multistream: select(m: MultistreamSelect; conn: Connection): InternalRaisesFuture[bool,
(CancelledError, LPStreamError, MultiStreamError)]</a></li>
</ul></dd>
<dt><a name="selectBest" href="#selectBest"><span>selectBest:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -4503,17 +4491,17 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="start" href="#start"><span>start:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="multistream: start(m: MultistreamSelect): Future[void]" href="libp2p/multistream.html#start%2CMultistreamSelect">multistream: start(m: MultistreamSelect): Future[void]</a></li>
data-doc-search-tag="multistream: start(m: MultistreamSelect): InternalRaisesFuture[void, (CancelledError,)]" href="libp2p/multistream.html#start%2CMultistreamSelect">multistream: start(m: MultistreamSelect): InternalRaisesFuture[void, (CancelledError,)]</a></li>
<li><a class="reference external"
data-doc-search-tag="relay: start(r: Relay): Future[void]" href="libp2p/protocols/connectivity/relay/relay.html#start.e%2CRelay">relay: start(r: Relay): Future[void]</a></li>
data-doc-search-tag="relay: start(r: Relay): InternalRaisesFuture[void, (CancelledError,)]" href="libp2p/protocols/connectivity/relay/relay.html#start.e%2CRelay">relay: start(r: Relay): InternalRaisesFuture[void, (CancelledError,)]</a></li>
<li><a class="reference external"
data-doc-search-tag="rtransport: start(self: RelayTransport; ma: seq[MultiAddress]): Future[void]" href="libp2p/protocols/connectivity/relay/rtransport.html#start.e%2CRelayTransport%2Cseq%5BMultiAddress%5D">rtransport: start(self: RelayTransport; ma: seq[MultiAddress]): Future[void]</a></li>
<li><a class="reference external"
data-doc-search-tag="protocol: start(p: LPProtocol): Future[void]" href="libp2p/protocols/protocol.html#start.e%2CLPProtocol">protocol: start(p: LPProtocol): Future[void]</a></li>
data-doc-search-tag="protocol: start(p: LPProtocol): InternalRaisesFuture[void, (CancelledError,)]" href="libp2p/protocols/protocol.html#start.e%2CLPProtocol">protocol: start(p: LPProtocol): InternalRaisesFuture[void, (CancelledError,)]</a></li>
<li><a class="reference external"
data-doc-search-tag="gossipsub: start(g: GossipSub): Future[void]" href="libp2p/protocols/pubsub/gossipsub.html#start.e%2CGossipSub">gossipsub: start(g: GossipSub): Future[void]</a></li>
data-doc-search-tag="gossipsub: start(g: GossipSub): InternalRaisesFuture[void, (CancelledError,)]" href="libp2p/protocols/pubsub/gossipsub.html#start.e%2CGossipSub">gossipsub: start(g: GossipSub): InternalRaisesFuture[void, (CancelledError,)]</a></li>
<li><a class="reference external"
data-doc-search-tag="rendezvous: start(rdv: RendezVous): Future[void]" href="libp2p/protocols/rendezvous.html#start.e%2CRendezVous">rendezvous: start(rdv: RendezVous): Future[void]</a></li>
data-doc-search-tag="rendezvous: start(rdv: RendezVous): InternalRaisesFuture[void, (CancelledError,)]" href="libp2p/protocols/rendezvous.html#start.e%2CRendezVous">rendezvous: start(rdv: RendezVous): InternalRaisesFuture[void, (CancelledError,)]</a></li>
<li><a class="reference external"
data-doc-search-tag="switch: start(s: Switch): Future[void]" href="libp2p/switch.html#start%2CSwitch">switch: start(s: Switch): Future[void]</a></li>
<li><a class="reference external"
@ -4537,17 +4525,17 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="stop" href="#stop"><span>stop:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="multistream: stop(m: MultistreamSelect): Future[void]" href="libp2p/multistream.html#stop%2CMultistreamSelect">multistream: stop(m: MultistreamSelect): Future[void]</a></li>
data-doc-search-tag="multistream: stop(m: MultistreamSelect): InternalRaisesFuture[void, void]" href="libp2p/multistream.html#stop%2CMultistreamSelect">multistream: stop(m: MultistreamSelect): InternalRaisesFuture[void, void]</a></li>
<li><a class="reference external"
data-doc-search-tag="relay: stop(r: Relay): Future[void]" href="libp2p/protocols/connectivity/relay/relay.html#stop.e%2CRelay">relay: stop(r: Relay): Future[void]</a></li>
data-doc-search-tag="relay: stop(r: Relay): InternalRaisesFuture[void, void]" href="libp2p/protocols/connectivity/relay/relay.html#stop.e%2CRelay">relay: stop(r: Relay): InternalRaisesFuture[void, void]</a></li>
<li><a class="reference external"
data-doc-search-tag="rtransport: stop(self: RelayTransport): Future[void]" href="libp2p/protocols/connectivity/relay/rtransport.html#stop.e%2CRelayTransport">rtransport: stop(self: RelayTransport): Future[void]</a></li>
<li><a class="reference external"
data-doc-search-tag="protocol: stop(p: LPProtocol): Future[void]" href="libp2p/protocols/protocol.html#stop.e%2CLPProtocol">protocol: stop(p: LPProtocol): Future[void]</a></li>
data-doc-search-tag="protocol: stop(p: LPProtocol): InternalRaisesFuture[void, void]" href="libp2p/protocols/protocol.html#stop.e%2CLPProtocol">protocol: stop(p: LPProtocol): InternalRaisesFuture[void, void]</a></li>
<li><a class="reference external"
data-doc-search-tag="gossipsub: stop(g: GossipSub): Future[void]" href="libp2p/protocols/pubsub/gossipsub.html#stop.e%2CGossipSub">gossipsub: stop(g: GossipSub): Future[void]</a></li>
data-doc-search-tag="gossipsub: stop(g: GossipSub): InternalRaisesFuture[void, void]" href="libp2p/protocols/pubsub/gossipsub.html#stop.e%2CGossipSub">gossipsub: stop(g: GossipSub): InternalRaisesFuture[void, void]</a></li>
<li><a class="reference external"
data-doc-search-tag="rendezvous: stop(rdv: RendezVous): Future[void]" href="libp2p/protocols/rendezvous.html#stop.e%2CRendezVous">rendezvous: stop(rdv: RendezVous): Future[void]</a></li>
data-doc-search-tag="rendezvous: stop(rdv: RendezVous): InternalRaisesFuture[void, void]" href="libp2p/protocols/rendezvous.html#stop.e%2CRendezVous">rendezvous: stop(rdv: RendezVous): InternalRaisesFuture[void, void]</a></li>
<li><a class="reference external"
data-doc-search-tag="switch: stop(s: Switch): Future[void]" href="libp2p/switch.html#stop%2CSwitch">switch: stop(s: Switch): Future[void]</a></li>
<li><a class="reference external"
@ -4941,9 +4929,13 @@ window.addEventListener('DOMContentLoaded', main);
</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="transport: upgrade(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[Muxer]" href="libp2p/transports/transport.html#upgrade.e%2CTransport%2CConnection%2COpt%5BPeerId%5D">transport: upgrade(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[Muxer]</a></li>
data-doc-search-tag="transport: upgrade(self: Transport; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Muxer, (CancelledError, LPError)]" href="libp2p/transports/transport.html#upgrade.e%2CTransport%2CConnection%2COpt%5BPeerId%5D">transport: upgrade(self: Transport; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Muxer, (CancelledError, LPError)]</a></li>
<li><a class="reference external"
data-doc-search-tag="muxedupgrade: upgrade(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[Muxer]" href="libp2p/upgrademngrs/muxedupgrade.html#upgrade.e%2CMuxedUpgrade%2CConnection%2COpt%5BPeerId%5D">muxedupgrade: upgrade(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[Muxer]</a></li>
data-doc-search-tag="muxedupgrade: upgrade(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Muxer, (CancelledError, LPError)]" href="libp2p/upgrademngrs/muxedupgrade.html#upgrade.e%2CMuxedUpgrade%2CConnection%2COpt%5BPeerId%5D">muxedupgrade: upgrade(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Muxer, (CancelledError, LPError)]</a></li>
</ul></dd>
<dt><a name="Upgrade" href="#Upgrade"><span>Upgrade:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -4951,7 +4943,9 @@ window.addEventListener('DOMContentLoaded', main);
</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(self: Upgrade; conn: Connection; peerId: Opt[PeerId]): Future[Muxer]" href="libp2p/upgrademngrs/upgrade.html#upgrade.e%2CUpgrade%2CConnection%2COpt%5BPeerId%5D">upgrade: upgrade(self: Upgrade; conn: Connection; peerId: Opt[PeerId]): Future[Muxer]</a></li>
data-doc-search-tag="upgrade: upgrade(self: Upgrade; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Muxer, (CancelledError, LPError)]" href="libp2p/upgrademngrs/upgrade.html#upgrade.e%2CUpgrade%2CConnection%2COpt%5BPeerId%5D">upgrade: upgrade(self: Upgrade; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Muxer, (CancelledError, LPError)]</a></li>
</ul></dd>
<dt><a name="UpgradeFailedError" href="#UpgradeFailedError"><span>UpgradeFailedError:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -5378,7 +5372,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: 2024-03-21 14:54:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-25 17:21:54 UTC</small>
</div>
</div>
</div>