update docs for noise-peerid

This commit is contained in:
= 2022-08-31 14:44:22 +00:00
parent f70812335c
commit 59a7ea1cca
77 changed files with 208 additions and 203 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: 2022-08-31 13:32:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:17 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -919,7 +919,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: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 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: 2022-08-31 13:32:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -1739,7 +1739,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 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: 2022-08-31 13:32:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -1401,7 +1401,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:37 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:10 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: 2022-08-31 13:32:37 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:10 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: 2022-08-31 13:32:37 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:10 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: 2022-08-31 13:32:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -1201,7 +1201,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:36 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:09 UTC</small>
</div>
</div>
</div>

View File

@ -1021,7 +1021,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:36 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:09 UTC</small>
</div>
</div>
</div>

View File

@ -936,7 +936,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:37 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:10 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: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -338,9 +338,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/dialer.nim#L262"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/dialer.nim#L259"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L262" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L259" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -355,9 +355,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/dialer.nim#L259"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/dialer.nim#L256"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L259" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L256" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -369,9 +369,9 @@ class="link-seesrc" target="_blank">Source</a>
connect remote peer without negotiating a protocol
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/dialer.nim#L160"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/dialer.nim#L157"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L160" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L157" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -383,9 +383,9 @@ class="link-seesrc" target="_blank">Source</a>
create a protocol stream and establish a connection if one doesn't exist already
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/dialer.nim#L223"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/dialer.nim#L220"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L223" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L220" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -396,9 +396,9 @@ class="link-seesrc" target="_blank">Source</a>
create a protocol stream over an existing connection
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/dialer.nim#L206"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/dialer.nim#L203"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L206" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L203" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -409,9 +409,9 @@ class="link-seesrc" target="_blank">Source</a>
Create a protocol stream and in order to check if a connection is possible. Doesn't use the Connection Manager to save it.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/dialer.nim#L185"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/dialer.nim#L182"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L185" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L182" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -430,7 +430,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: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -357,7 +357,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 UTC</small>
</div>
</div>
</div>

View File

@ -2142,7 +2142,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: 2022-08-31 13:32:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 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: 2022-08-31 13:32:38 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:11 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: 2022-08-31 13:32:38 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:11 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: 2022-08-31 13:32:39 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:12 UTC</small>
</div>
</div>
</div>

View File

@ -596,7 +596,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 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: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -386,7 +386,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -518,7 +518,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 UTC</small>
</div>
</div>
</div>

View File

@ -545,7 +545,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: 2022-08-31 13:32:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -353,7 +353,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -231,11 +231,6 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#cmp%2CPeerId%2CPeerId"
title="cmp(a, b: PeerId): int">cmp(a, b: PeerId): int</a></li>
</ul>
<ul class="simple nested-toc-section">empty
<li><a class="reference" href="#empty%2CPeerId"
title="empty(pid: PeerId): bool">empty(pid: PeerId): bool</a></li>
</ul>
<ul class="simple nested-toc-section">extractPublicKey
<li><a class="reference" href="#extractPublicKey%2CPeerId%2CPublicKey"
@ -440,18 +435,6 @@ href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.ni
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L76" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="empty,PeerId" class="tohide">
<dt><pre><span class="Keyword">func</span> <a href="#empty%2CPeerId"><span class="Identifier">empty</span></a><span class="Other">(</span><span class="Identifier">pid</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="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><span class="Identifier">public</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><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/noise-peerid/libp2p/peerid.nim#L156"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L156" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="extractPublicKey,PeerId,PublicKey" class="tohide">
@ -476,9 +459,9 @@ class="link-seesrc" target="_blank">Source</a>
Read <tt class="docutils literal"><span class="pre">PeerId</span></tt> from ProtoBuf's message and validate it
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L216"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L213"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L216" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L213" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -542,9 +525,9 @@ class="link-seesrc" target="_blank">Source</a>
Create new peer id from raw binary representation <tt class="docutils literal"><span class="pre">data</span></tt>.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L159"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L156"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L159" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L156" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -555,9 +538,9 @@ class="link-seesrc" target="_blank">Source</a>
Create new peer id from base58 encoded string representation <tt class="docutils literal"><span class="pre">data</span></tt>.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L167"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L164"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L167" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L164" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -568,9 +551,9 @@ class="link-seesrc" target="_blank">Source</a>
Create new peer id from public key <tt class="docutils literal"><span class="pre">pubkey</span></tt>.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L175"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L172"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L175" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L172" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -581,9 +564,9 @@ class="link-seesrc" target="_blank">Source</a>
Create new peer id from private key <tt class="docutils literal"><span class="pre">seckey</span></tt>.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L186"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L183"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L186" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L183" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -594,9 +577,9 @@ class="link-seesrc" target="_blank">Source</a>
Returns <tt class="docutils literal"><span class="pre">true</span></tt> if <tt class="docutils literal"><span class="pre">pid</span></tt> matches public key <tt class="docutils literal"><span class="pre">pubkey</span></tt>.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L190"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L187"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L190" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L187" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -607,9 +590,9 @@ class="link-seesrc" target="_blank">Source</a>
Returns <tt class="docutils literal"><span class="pre">true</span></tt> if <tt class="docutils literal"><span class="pre">pid</span></tt> matches private key <tt class="docutils literal"><span class="pre">seckey</span></tt>.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L198"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L195"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L198" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L195" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -659,9 +642,9 @@ class="link-seesrc" target="_blank">Source</a>
Write PeerId value <tt class="docutils literal"><span class="pre">peerid</span></tt> to object <tt class="docutils literal"><span class="pre">pb</span></tt> using ProtoBuf's encoding.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L212"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L209"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L212" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L209" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -671,9 +654,9 @@ class="link-seesrc" target="_blank">Source</a>
Write PeerId value <tt class="docutils literal"><span class="pre">peerid</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/noise-peerid/libp2p/peerid.nim#L208"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/peerid.nim#L205"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L208" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/peerid.nim#L205" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -805,7 +788,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: 2022-08-31 13:32:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -938,7 +938,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: 2022-08-31 13:32:35 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:08 UTC</small>
</div>
</div>
</div>

View File

@ -510,7 +510,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: 2022-08-31 13:32:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -620,7 +620,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -385,7 +385,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: 2022-08-31 13:32:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 UTC</small>
</div>
</div>
</div>

View File

@ -239,7 +239,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:17 UTC</small>
</div>
</div>
</div>

View File

@ -255,7 +255,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:16 UTC</small>
</div>
</div>
</div>

View File

@ -466,7 +466,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:16 UTC</small>
</div>
</div>
</div>

View File

@ -509,7 +509,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: 2022-08-31 13:32:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:17 UTC</small>
</div>
</div>
</div>

View File

@ -478,7 +478,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:16 UTC</small>
</div>
</div>
</div>

View File

@ -386,7 +386,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:16 UTC</small>
</div>
</div>
</div>

View File

@ -774,7 +774,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:16 UTC</small>
</div>
</div>
</div>

View File

@ -403,7 +403,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:16 UTC</small>
</div>
</div>
</div>

View File

@ -353,7 +353,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:16 UTC</small>
</div>
</div>
</div>

View File

@ -1157,7 +1157,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: 2022-08-31 13:32:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:16 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: 2022-08-31 13:32:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:16 UTC</small>
</div>
</div>
</div>

View File

@ -566,7 +566,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:16 UTC</small>
</div>
</div>
</div>

View File

@ -596,7 +596,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:16 UTC</small>
</div>
</div>
</div>

View File

@ -409,7 +409,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:16 UTC</small>
</div>
</div>
</div>

View File

@ -466,7 +466,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:15 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: 2022-08-31 13:32:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 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: 2022-08-31 13:32:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -548,7 +548,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: 2022-08-31 13:32:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:15 UTC</small>
</div>
</div>
</div>

View File

@ -411,7 +411,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: 2022-08-31 13:32:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:15 UTC</small>
</div>
</div>
</div>

View File

@ -364,7 +364,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: 2022-08-31 13:32:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -265,8 +265,10 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">handshake
<li><a class="reference" href="#handshake.e%2CNoise%2CConnection%2Cbool"
title="handshake(p: Noise; conn: Connection; initiator: bool): Future[SecureConn]">handshake(p: Noise; conn: Connection; initiator: bool): Future[SecureConn]</a></li>
<li><a class="reference" href="#handshake.e%2CNoise%2CConnection%2Cbool%2COpt%5BPeerId%5D"
title="handshake(p: Noise; conn: Connection; initiator: bool; peerId: Opt[PeerId]): Future[
SecureConn]">handshake(p: Noise; conn: Connection; initiator: bool; peerId: Opt[PeerId]): Future[
SecureConn]</a></li>
</ul>
<ul class="simple nested-toc-section">init
@ -479,9 +481,10 @@ class="link-seesrc" target="_blank">Source</a>
</dd>
</div>
<div id="handshake.e,Noise,Connection,bool" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#handshake.e%2CNoise%2CConnection%2Cbool"><span class="Identifier">handshake</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="noise.html#Noise"><span class="Identifier">Noise</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">initiator</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><a href="secure.html#SecureConn"><span class="Identifier">SecureConn</span></a><span class="Other">]</span> {.
<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<div id="handshake.e,Noise,Connection,bool,Opt[PeerId]" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#handshake.e%2CNoise%2CConnection%2Cbool%2COpt%5BPeerId%5D"><span class="Identifier">handshake</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="noise.html#Noise"><span class="Identifier">Noise</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">initiator</span><span class="Other">:</span> <span class="Identifier">bool</span><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="secure.html#SecureConn"><span class="Identifier">SecureConn</span></a><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span>
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
@ -557,7 +560,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: 2022-08-31 13:32:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -254,8 +254,10 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">handshake
<li><a class="reference" href="#handshake.e%2CSecure%2CConnection%2Cbool"
title="handshake(s: Secure; conn: Connection; initiator: bool): Future[SecureConn]">handshake(s: Secure; conn: Connection; initiator: bool): Future[SecureConn]</a></li>
<li><a class="reference" href="#handshake.e%2CSecure%2CConnection%2Cbool%2COpt%5BPeerId%5D"
title="handshake(s: Secure; conn: Connection; initiator: bool; peerId: Opt[PeerId]): Future[
SecureConn]">handshake(s: Secure; conn: Connection; initiator: bool; peerId: Opt[PeerId]): Future[
SecureConn]</a></li>
</ul>
<ul class="simple nested-toc-section">init
@ -279,8 +281,10 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">secure
<li><a class="reference" href="#secure.e%2CSecure%2CConnection%2Cbool"
title="secure(s: Secure; conn: Connection; initiator: bool): Future[Connection]">secure(s: Secure; conn: Connection; initiator: bool): Future[Connection]</a></li>
<li><a class="reference" href="#secure.e%2CSecure%2CConnection%2Cbool%2COpt%5BPeerId%5D"
title="secure(s: Secure; conn: Connection; initiator: bool; peerId: Opt[PeerId]): Future[
Connection]">secure(s: Secure; conn: Connection; initiator: bool; peerId: Opt[PeerId]): Future[
Connection]</a></li>
</ul>
@ -429,17 +433,17 @@ class="link-seesrc" target="_blank">Source</a>
</dd>
</div>
<div id="handshake.e,Secure,Connection,bool" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#handshake.e%2CSecure%2CConnection%2Cbool"><span class="Identifier">handshake</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <a href="secure.html#Secure"><span class="Identifier">Secure</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">initiator</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
<a href="secure.html#SecureConn"><span class="Identifier">SecureConn</span></a><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">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>
<div id="handshake.e,Secure,Connection,bool,Opt[PeerId]" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#handshake.e%2CSecure%2CConnection%2Cbool%2COpt%5BPeerId%5D"><span class="Identifier">handshake</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <a href="secure.html#Secure"><span class="Identifier">Secure</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">initiator</span><span class="Other">:</span> <span class="Identifier">bool</span><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="secure.html#SecureConn"><span class="Identifier">SecureConn</span></a><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">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/noise-peerid/libp2p/protocols/secure/secure.nim#L82"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/protocols/secure/secure.nim#L83"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L82" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L83" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -449,9 +453,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/protocols/secure/secure.nim#L116"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/protocols/secure/secure.nim#L118"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L116" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L118" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -487,22 +491,22 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/protocols/secure/secure.nim#L145"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/protocols/secure/secure.nim#L148"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L145" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L148" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="secure.e,Secure,Connection,bool" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#secure.e%2CSecure%2CConnection%2Cbool"><span class="Identifier">secure</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <a href="secure.html#Secure"><span class="Identifier">Secure</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">initiator</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><a href="../../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">]</span> {.
<span class="Identifier">base</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">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="secure.e,Secure,Connection,bool,Opt[PeerId]" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#secure.e%2CSecure%2CConnection%2Cbool%2COpt%5BPeerId%5D"><span class="Identifier">secure</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <a href="secure.html#Secure"><span class="Identifier">Secure</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">initiator</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">;</span> <span class="Identifier">peerId</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><a href="../../peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
<a href="../../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">]</span> {.<span class="Identifier">base</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">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/noise-peerid/libp2p/protocols/secure/secure.nim#L136"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/protocols/secure/secure.nim#L138"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L136" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/secure/secure.nim#L138" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -538,7 +542,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: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 13:32:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -499,7 +499,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: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -990,7 +990,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: 2022-08-31 13:32:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 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: 2022-08-31 13:32:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 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: 2022-08-31 13:32:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 UTC</small>
</div>
</div>
</div>

View File

@ -461,7 +461,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="../upgrademngrs/upgrade.html#TransportInvalidAddrError"><span class="Identifier">TransportInvalidAddrError</span></a>, <a href="../upgrademngrs/upgrade.html#dial,Transport,MultiAddress"><span class="Identifier">dial</span></a>, <a href="../upgrademngrs/upgrade.html#Transport"><span class="Identifier">Transport</span></a>, <a href="../upgrademngrs/upgrade.html#newTransportClosedError,ref.Exception"><span class="Identifier">newTransportClosedError</span></a>, <a href="../upgrademngrs/upgrade.html#upgradeOutgoing.e,Transport,Connection"><span class="Identifier">upgradeOutgoing</span></a>, <a href="../upgrademngrs/upgrade.html#stop.e,Transport"><span class="Identifier">stop</span></a>, <a href="../upgrademngrs/upgrade.html#accept.e,Transport"><span class="Identifier">accept</span></a>, <a href="../upgrademngrs/upgrade.html#TransportError"><span class="Identifier">TransportError</span></a>, <a href="../upgrademngrs/upgrade.html#TransportClosedError"><span class="Identifier">TransportClosedError</span></a>, <a href="../upgrademngrs/upgrade.html#handles.e,Transport,MultiAddress"><span class="Identifier">handles</span></a>, <a href="../upgrademngrs/upgrade.html#dial.e,Transport,string,MultiAddress"><span class="Identifier">dial</span></a>, <a href="../upgrademngrs/upgrade.html#upgradeIncoming.e,Transport,Connection"><span class="Identifier">upgradeIncoming</span></a>, <a href="../upgrademngrs/upgrade.html#start.e,Transport,seq[MultiAddress]"><span class="Identifier">start</span></a>
<a href="../upgrademngrs/upgrade.html#TransportInvalidAddrError"><span class="Identifier">TransportInvalidAddrError</span></a>, <a href="../upgrademngrs/upgrade.html#dial,Transport,MultiAddress"><span class="Identifier">dial</span></a>, <a href="../upgrademngrs/upgrade.html#Transport"><span class="Identifier">Transport</span></a>, <a href="../upgrademngrs/upgrade.html#newTransportClosedError,ref.Exception"><span class="Identifier">newTransportClosedError</span></a>, <a href="../upgrademngrs/upgrade.html#upgradeOutgoing.e,Transport,Connection,Opt[PeerId]"><span class="Identifier">upgradeOutgoing</span></a>, <a href="../upgrademngrs/upgrade.html#stop.e,Transport"><span class="Identifier">stop</span></a>, <a href="../upgrademngrs/upgrade.html#accept.e,Transport"><span class="Identifier">accept</span></a>, <a href="../upgrademngrs/upgrade.html#TransportError"><span class="Identifier">TransportError</span></a>, <a href="../upgrademngrs/upgrade.html#TransportClosedError"><span class="Identifier">TransportClosedError</span></a>, <a href="../upgrademngrs/upgrade.html#handles.e,Transport,MultiAddress"><span class="Identifier">handles</span></a>, <a href="../upgrademngrs/upgrade.html#dial.e,Transport,string,MultiAddress"><span class="Identifier">dial</span></a>, <a href="../upgrademngrs/upgrade.html#upgradeIncoming.e,Transport,Connection"><span class="Identifier">upgradeIncoming</span></a>, <a href="../upgrademngrs/upgrade.html#start.e,Transport,seq[MultiAddress]"><span class="Identifier">start</span></a>
</dl></div>
</div>
@ -471,7 +471,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: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -271,8 +271,10 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">upgradeOutgoing
<li><a class="reference" href="#upgradeOutgoing.e%2CTransport%2CConnection"
title="upgradeOutgoing(self: Transport; conn: Connection): Future[Connection]">upgradeOutgoing(self: Transport; conn: Connection): Future[Connection]</a></li>
<li><a class="reference" href="#upgradeOutgoing.e%2CTransport%2CConnection%2COpt%5BPeerId%5D"
title="upgradeOutgoing(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]">upgradeOutgoing(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]</a></li>
</ul>
@ -420,9 +422,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/noise-peerid/libp2p/transports/transport.nim#L97"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/transports/transport.nim#L98"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L97" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/transport.nim#L98" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -465,9 +467,9 @@ class="link-seesrc" target="_blank">Source</a>
</dd>
</div>
<div id="upgradeOutgoing.e,Transport,Connection" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#upgradeOutgoing.e%2CTransport%2CConnection"><span class="Identifier">upgradeOutgoing</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="../upgrademngrs/upgrade.html#Transport"><span class="Identifier">Transport</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">]</span> {.
<span class="Identifier">base</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<div id="upgradeOutgoing.e,Transport,Connection,Opt[PeerId]" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#upgradeOutgoing.e%2CTransport%2CConnection%2COpt%5BPeerId%5D"><span class="Identifier">upgradeOutgoing</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="../upgrademngrs/upgrade.html#Transport"><span class="Identifier">Transport</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">peerId</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><a href="../peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
<a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">]</span> {.<span class="Identifier">base</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
base upgrade method that the transport uses to perform transport specific upgrades
@ -488,7 +490,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: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 UTC</small>
</div>
</div>
</div>

View File

@ -550,7 +550,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="../upgrademngrs/upgrade.html#TransportInvalidAddrError"><span class="Identifier">TransportInvalidAddrError</span></a>, <a href="../upgrademngrs/upgrade.html#dial,Transport,MultiAddress"><span class="Identifier">dial</span></a>, <a href="../upgrademngrs/upgrade.html#Transport"><span class="Identifier">Transport</span></a>, <a href="../upgrademngrs/upgrade.html#newTransportClosedError,ref.Exception"><span class="Identifier">newTransportClosedError</span></a>, <a href="../upgrademngrs/upgrade.html#upgradeOutgoing.e,Transport,Connection"><span class="Identifier">upgradeOutgoing</span></a>, <a href="../upgrademngrs/upgrade.html#stop.e,Transport"><span class="Identifier">stop</span></a>, <a href="../upgrademngrs/upgrade.html#accept.e,Transport"><span class="Identifier">accept</span></a>, <a href="../upgrademngrs/upgrade.html#TransportError"><span class="Identifier">TransportError</span></a>, <a href="../upgrademngrs/upgrade.html#TransportClosedError"><span class="Identifier">TransportClosedError</span></a>, <a href="../upgrademngrs/upgrade.html#handles.e,Transport,MultiAddress"><span class="Identifier">handles</span></a>, <a href="../upgrademngrs/upgrade.html#dial.e,Transport,string,MultiAddress"><span class="Identifier">dial</span></a>, <a href="../upgrademngrs/upgrade.html#upgradeIncoming.e,Transport,Connection"><span class="Identifier">upgradeIncoming</span></a>, <a href="../upgrademngrs/upgrade.html#start.e,Transport,seq[MultiAddress]"><span class="Identifier">start</span></a>
<a href="../upgrademngrs/upgrade.html#TransportInvalidAddrError"><span class="Identifier">TransportInvalidAddrError</span></a>, <a href="../upgrademngrs/upgrade.html#dial,Transport,MultiAddress"><span class="Identifier">dial</span></a>, <a href="../upgrademngrs/upgrade.html#Transport"><span class="Identifier">Transport</span></a>, <a href="../upgrademngrs/upgrade.html#newTransportClosedError,ref.Exception"><span class="Identifier">newTransportClosedError</span></a>, <a href="../upgrademngrs/upgrade.html#upgradeOutgoing.e,Transport,Connection,Opt[PeerId]"><span class="Identifier">upgradeOutgoing</span></a>, <a href="../upgrademngrs/upgrade.html#stop.e,Transport"><span class="Identifier">stop</span></a>, <a href="../upgrademngrs/upgrade.html#accept.e,Transport"><span class="Identifier">accept</span></a>, <a href="../upgrademngrs/upgrade.html#TransportError"><span class="Identifier">TransportError</span></a>, <a href="../upgrademngrs/upgrade.html#TransportClosedError"><span class="Identifier">TransportClosedError</span></a>, <a href="../upgrademngrs/upgrade.html#handles.e,Transport,MultiAddress"><span class="Identifier">handles</span></a>, <a href="../upgrademngrs/upgrade.html#dial.e,Transport,string,MultiAddress"><span class="Identifier">dial</span></a>, <a href="../upgrademngrs/upgrade.html#upgradeIncoming.e,Transport,Connection"><span class="Identifier">upgradeIncoming</span></a>, <a href="../upgrademngrs/upgrade.html#start.e,Transport,seq[MultiAddress]"><span class="Identifier">start</span></a>
</dl></div>
</div>
@ -560,7 +560,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: 2022-08-31 13:32:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:16 UTC</small>
</div>
</div>
</div>

View File

@ -246,8 +246,10 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">upgradeOutgoing
<li><a class="reference" href="#upgradeOutgoing.e%2CMuxedUpgrade%2CConnection"
title="upgradeOutgoing(self: MuxedUpgrade; conn: Connection): Future[Connection]">upgradeOutgoing(self: MuxedUpgrade; conn: Connection): Future[Connection]</a></li>
<li><a class="reference" href="#upgradeOutgoing.e%2CMuxedUpgrade%2CConnection%2COpt%5BPeerId%5D"
title="upgradeOutgoing(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]">upgradeOutgoing(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]</a></li>
</ul>
@ -334,9 +336,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/upgrademngrs/muxedupgrade.nim#L205"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/upgrademngrs/muxedupgrade.nim#L206"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L205" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L206" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -353,23 +355,23 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/upgrademngrs/muxedupgrade.nim#L119"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/upgrademngrs/muxedupgrade.nim#L120"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L119" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L120" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="upgradeOutgoing.e,MuxedUpgrade,Connection" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#upgradeOutgoing.e%2CMuxedUpgrade%2CConnection"><span class="Identifier">upgradeOutgoing</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="muxedupgrade.html#MuxedUpgrade"><span class="Identifier">MuxedUpgrade</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">]</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> </span><span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<div id="upgradeOutgoing.e,MuxedUpgrade,Connection,Opt[PeerId]" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#upgradeOutgoing.e%2CMuxedUpgrade%2CConnection%2COpt%5BPeerId%5D"><span class="Identifier">upgradeOutgoing</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="muxedupgrade.html#MuxedUpgrade"><span class="Identifier">MuxedUpgrade</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">peerId</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><a href="../peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
<a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> </span><span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">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/noise-peerid/libp2p/upgrademngrs/muxedupgrade.nim#L91"
href="https://github.com/status-im/nim-libp2p/tree/noise-peerid/libp2p/upgrademngrs/muxedupgrade.nim#L92"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L91" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/upgrademngrs/muxedupgrade.nim#L92" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -388,7 +390,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: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -287,7 +287,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: 2022-08-31 13:32:35 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:08 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: 2022-08-31 13:32:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 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: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:13 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: 2022-08-31 13:32:35 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:08 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: 2022-08-31 13:32:37 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:10 UTC</small>
</div>
</div>
</div>

View File

@ -571,7 +571,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: 2022-08-31 13:32:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:14 UTC</small>
</div>
</div>
</div>

View File

@ -1251,10 +1251,6 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="ed25519: EdSignatureSize" href="libp2p/crypto/ed25519/ed25519.html#EdSignatureSize">ed25519: EdSignatureSize</a></li>
</ul></dd>
<dt><a name="empty" href="#empty"><span>empty:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="peerid: empty(pid: PeerId): bool" href="libp2p/peerid.html#empty%2CPeerId">peerid: empty(pid: PeerId): bool</a></li>
</ul></dd>
<dt><a name="encode" href="#encode"><span>encode:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="multiaddress: encode(mbtype: typedesc[MultiBase]; encoding: string; ma: MultiAddress): string" href="libp2p/multiaddress.html#encode%2Ctypedesc%5BMultiBase%5D%2Cstring%2CMultiAddress">multiaddress: encode(mbtype: typedesc[MultiBase]; encoding: string; ma: MultiAddress): string</a></li>
@ -1825,9 +1821,13 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="handshake" href="#handshake"><span>handshake:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="noise: handshake(p: Noise; conn: Connection; initiator: bool): Future[SecureConn]" href="libp2p/protocols/secure/noise.html#handshake.e%2CNoise%2CConnection%2Cbool">noise: handshake(p: Noise; conn: Connection; initiator: bool): Future[SecureConn]</a></li>
data-doc-search-tag="noise: handshake(p: Noise; conn: Connection; initiator: bool; peerId: Opt[PeerId]): Future[
SecureConn]" href="libp2p/protocols/secure/noise.html#handshake.e%2CNoise%2CConnection%2Cbool%2COpt%5BPeerId%5D">noise: handshake(p: Noise; conn: Connection; initiator: bool; peerId: Opt[PeerId]): Future[
SecureConn]</a></li>
<li><a class="reference external"
data-doc-search-tag="secure: handshake(s: Secure; conn: Connection; initiator: bool): Future[SecureConn]" href="libp2p/protocols/secure/secure.html#handshake.e%2CSecure%2CConnection%2Cbool">secure: handshake(s: Secure; conn: Connection; initiator: bool): Future[SecureConn]</a></li>
data-doc-search-tag="secure: handshake(s: Secure; conn: Connection; initiator: bool; peerId: Opt[PeerId]): Future[
SecureConn]" href="libp2p/protocols/secure/secure.html#handshake.e%2CSecure%2CConnection%2Cbool%2COpt%5BPeerId%5D">secure: handshake(s: Secure; conn: Connection; initiator: bool; peerId: Opt[PeerId]): Future[
SecureConn]</a></li>
</ul></dd>
<dt><a name="hash" href="#hash"><span>hash:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -3901,11 +3901,13 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="secure" href="#secure"><span>secure:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="secure: secure(s: Secure; conn: Connection; initiator: bool): Future[Connection]" href="libp2p/protocols/secure/secure.html#secure.e%2CSecure%2CConnection%2Cbool">secure: secure(s: Secure; conn: Connection; initiator: bool): Future[Connection]</a></li>
data-doc-search-tag="secure: secure(s: Secure; conn: Connection; initiator: bool; peerId: Opt[PeerId]): Future[
Connection]" href="libp2p/protocols/secure/secure.html#secure.e%2CSecure%2CConnection%2Cbool%2COpt%5BPeerId%5D">secure: secure(s: Secure; conn: Connection; initiator: bool; peerId: Opt[PeerId]): Future[
Connection]</a></li>
<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): Future[Connection]" href="libp2p/upgrademngrs/upgrade.html#secure%2CUpgrade%2CConnection">upgrade: secure(self: Upgrade; conn: Connection): Future[Connection]</a></li>
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>
</ul></dd>
<dt><a name="SecureConn" href="#SecureConn"><span>SecureConn:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -4549,11 +4551,17 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="upgradeOutgoing" href="#upgradeOutgoing"><span>upgradeOutgoing:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="transport: upgradeOutgoing(self: Transport; conn: Connection): Future[Connection]" href="libp2p/transports/transport.html#upgradeOutgoing.e%2CTransport%2CConnection">transport: upgradeOutgoing(self: Transport; conn: Connection): Future[Connection]</a></li>
data-doc-search-tag="transport: upgradeOutgoing(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]" href="libp2p/transports/transport.html#upgradeOutgoing.e%2CTransport%2CConnection%2COpt%5BPeerId%5D">transport: upgradeOutgoing(self: Transport; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]</a></li>
<li><a class="reference external"
data-doc-search-tag="muxedupgrade: upgradeOutgoing(self: MuxedUpgrade; conn: Connection): Future[Connection]" href="libp2p/upgrademngrs/muxedupgrade.html#upgradeOutgoing.e%2CMuxedUpgrade%2CConnection">muxedupgrade: upgradeOutgoing(self: MuxedUpgrade; conn: Connection): Future[Connection]</a></li>
data-doc-search-tag="muxedupgrade: upgradeOutgoing(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]" href="libp2p/upgrademngrs/muxedupgrade.html#upgradeOutgoing.e%2CMuxedUpgrade%2CConnection%2COpt%5BPeerId%5D">muxedupgrade: upgradeOutgoing(self: MuxedUpgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]</a></li>
<li><a class="reference external"
data-doc-search-tag="upgrade: upgradeOutgoing(self: Upgrade; conn: Connection): Future[Connection]" href="libp2p/upgrademngrs/upgrade.html#upgradeOutgoing.e%2CUpgrade%2CConnection">upgrade: upgradeOutgoing(self: Upgrade; conn: Connection): Future[Connection]</a></li>
data-doc-search-tag="upgrade: upgradeOutgoing(self: Upgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]" href="libp2p/upgrademngrs/upgrade.html#upgradeOutgoing.e%2CUpgrade%2CConnection%2COpt%5BPeerId%5D">upgrade: upgradeOutgoing(self: Upgrade; conn: Connection; peerId: Opt[PeerId]): Future[
Connection]</a></li>
</ul></dd>
<dt><a name="UTP" href="#UTP"><span>UTP:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -4908,7 +4916,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: 2022-08-31 13:32:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-08-31 14:44:17 UTC</small>
</div>
</div>
</div>