update docs for ex-x

This commit is contained in:
= 2024-03-07 09:52:01 +00:00
parent 888bfbcc70
commit f6173fae45
82 changed files with 148 additions and 140 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-06 12:42:53 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:55 UTC</small>
</div>
</div>
</div>

View File

@ -801,7 +801,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-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:53 UTC</small>
</div>
</div>
</div>

View File

@ -860,7 +860,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-06 12:42:30 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 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-06 12:42:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -1703,7 +1703,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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:32 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-06 12:42:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51: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-06 12:42:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:31 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-06 12:42:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:30 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-06 12:42:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:31 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-06 12:42:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51: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-06 12:42:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:30 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-06 12:42:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:30 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-06 12:42:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:31 UTC</small>
</div>
</div>
</div>

View File

@ -387,7 +387,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-06 12:42:30 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 UTC</small>
</div>
</div>
</div>

View File

@ -416,7 +416,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-06 12:42:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:52 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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:32 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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 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-06 12:42:28 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:31 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-06 12:42:28 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:31 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-06 12:42:28 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:32 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: 2024-03-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 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-06 12:42:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:52 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-06 12:42:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51: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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 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-06 12:42:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -379,7 +379,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-06 12:42:30 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:32 UTC</small>
</div>
</div>
</div>

View File

@ -484,7 +484,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 UTC</small>
</div>
</div>
</div>

View File

@ -931,7 +931,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-06 12:42:25 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:29 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-06 12:42:30 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 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-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:53 UTC</small>
</div>
</div>
</div>

View File

@ -473,7 +473,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-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:53 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-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:53 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-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:53 UTC</small>
</div>
</div>
</div>

View File

@ -538,9 +538,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/connectivity/relay/relay.nim#L364"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/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>
@ -551,9 +551,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/connectivity/relay/relay.nim#L371"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/connectivity/relay/relay.nim#L373"
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#L373" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -567,7 +567,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:53 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-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:53 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-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:53 UTC</small>
</div>
</div>
</div>

View File

@ -529,9 +529,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/identify.nim#L174"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/identify.nim#L176"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/identify.nim#L174" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/identify.nim#L176" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -541,9 +541,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/identify.nim#L209"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/identify.nim#L211"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/identify.nim#L209" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/identify.nim#L211" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -568,9 +568,9 @@ class="link-seesrc" target="_blank">Source</a>
Create a IdentifyPush protocol. <tt class="docutils literal"><span class="pre"><span class="Identifier">handler</span></span></tt> will be called every time a peer sends us new <tt class="docutils literal"><span class="pre"><span class="Identifier">PeerInfo</span></span></tt>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/identify.nim#L202"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/identify.nim#L204"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/identify.nim#L202" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/identify.nim#L204" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -582,9 +582,9 @@ class="link-seesrc" target="_blank">Source</a>
Send new <tt class="docutils literal"><span class="pre"><span class="Identifier">peerInfo</span></span></tt>s to a connection
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/identify.nim#L239"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/identify.nim#L243"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/identify.nim#L239" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/identify.nim#L243" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -637,7 +637,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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 UTC</small>
</div>
</div>
</div>

View File

@ -212,7 +212,8 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#PingError"
title="PingError = object of LPError">PingError</a></li>
<li><a class="reference" href="#PingHandler"
title="PingHandler {.public.} = proc (peer: PeerId): Future[void] {.gcsafe, raises: [].}">PingHandler</a></li>
title="PingHandler {.public.} = proc (peer: PeerId): Future[void] {.
async: (raises: []).}">PingHandler</a></li>
<li><a class="reference" href="#WrongPingAckError"
title="WrongPingAckError = object of PingError">WrongPingAckError</a></li>
@ -291,9 +292,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/ping.nim#L44"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/ping.nim#L42"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/ping.nim#L44" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/ping.nim#L42" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -310,7 +311,8 @@ class="link-seesrc" target="_blank">Source</a>
</dd>
</div>
<div id="PingHandler" class="tohide">
<dt><pre><a href="ping.html#PingHandler"><span class="Identifier">PingHandler</span></a> {.<span class="Identifier">public</span>.} <span class="Other">=</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">peer</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">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dt><pre><a href="ping.html#PingHandler"><span class="Identifier">PingHandler</span></a> {.<span class="Identifier">public</span>.} <span class="Other">=</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">peer</span><span class="Other">:</span> <span class="Identifier">PeerId</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">async</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><span class="Other">)</span>.}</pre></dt>
<dd>
@ -362,9 +364,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/ping.nim#L48"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/ping.nim#L46"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/ping.nim#L48" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/ping.nim#L46" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -393,9 +395,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/ping.nim#L53"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/ping.nim#L51"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/ping.nim#L53" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/ping.nim#L51" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -414,7 +416,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-06 12:42:51 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:54 UTC</small>
</div>
</div>
</div>

View File

@ -208,12 +208,12 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#LPProtocol"
title="LPProtocol = ref object of RootObj
codecs*: seq[string]
handler*: LPProtoHandler ## this handler gets invoked by the protocol negotiator
handler*: LPProtoHandler ## gets invoked by the protocol negotiator
started*: bool
maxIncomingStreams: Opt[int]">LPProtocol</a></li>
<li><a class="reference" href="#LPProtoHandler"
title="LPProtoHandler = proc (conn: Connection; proto: string): Future[void] {.gcsafe,
raises: [].}">LPProtoHandler</a></li>
title="LPProtoHandler = proc (conn: Connection; proto: string): Future[void] {.
async: (raises: [CancelledError]).}">LPProtoHandler</a></li>
</ul>
</li>
@ -303,7 +303,7 @@ class="link-seesrc" target="_blank">Source</a>
<div id="LPProtocol" class="tohide">
<dt><pre><a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a> <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <span class="Identifier">RootObj</span>
<span class="Identifier">codecs</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">handler</span><span class="Operator">*</span><span class="Other">:</span> <a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a> <span class="Comment">## this handler gets invoked by the protocol negotiator</span>
<span class="Identifier">handler</span><span class="Operator">*</span><span class="Other">:</span> <a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a> <span class="Comment">## gets invoked by the protocol negotiator</span>
<span class="Identifier">started</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">bool</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>
</pre></dt>
@ -311,15 +311,15 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L27"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L26"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L27" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L26" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="LPProtoHandler" class="tohide">
<dt><pre><a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a> <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">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span>
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dt><pre><a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a> <span class="Other">=</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">conn</span><span class="Other">:</span> <span class="Identifier">Connection</span><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">void</span><span class="Other">]</span> {.
<span class="Identifier">async</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="Identifier">CancelledError</span><span class="Other">]</span></span><span class="Other">)</span>.}</pre></dt>
<dd>
@ -358,9 +358,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L43"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L42"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L43" class="link-seesrc" target="_blank" >Edit</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>
</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-x/libp2p/protocols/protocol.nim#L47"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/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#L47" 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>
@ -382,9 +382,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L37"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L36"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L37" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L36" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -394,9 +394,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L40"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L39"
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#L39" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -408,9 +408,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L52"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L51"
class="link-seesrc" target="_blank">Source</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>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L51" 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-x/libp2p/protocols/protocol.nim#L33"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L32"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L33" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L32" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -438,9 +438,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L34"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L33"
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>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L33" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -451,9 +451,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/protocol.nim#L35"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/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#L35" 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>
@ -467,7 +467,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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 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: 2024-03-06 12:42:53 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:55 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: 2024-03-06 12:42:51 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:54 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-06 12:42:52 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:55 UTC</small>
</div>
</div>
</div>

View File

@ -568,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-06 12:42:52 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:55 UTC</small>
</div>
</div>
</div>

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-06 12:42:52 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:55 UTC</small>
</div>
</div>
</div>

View File

@ -447,7 +447,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-06 12:42:52 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:55 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-06 12:42:52 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:55 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: 2024-03-06 12:42:52 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:55 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-06 12:42:52 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:55 UTC</small>
</div>
</div>
</div>

View File

@ -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-06 12:42:52 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:55 UTC</small>
</div>
</div>
</div>

View File

@ -786,7 +786,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-06 12:42:52 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:54 UTC</small>
</div>
</div>
</div>

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-06 12:42:52 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:54 UTC</small>
</div>
</div>
</div>

View File

@ -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-06 12:42:51 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:54 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: 2024-03-06 12:42:52 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:54 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-06 12:42:52 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:55 UTC</small>
</div>
</div>
</div>

View File

@ -405,9 +405,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/rendezvous.nim#L668"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/rendezvous.nim#L670"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L668" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L670" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -501,9 +501,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/rendezvous.nim#L686"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/rendezvous.nim#L688"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L686" class="link-seesrc" target="_blank" >Edit</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>
</dd>
</div>
@ -514,9 +514,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/rendezvous.nim#L693"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/rendezvous.nim#L695"
class="link-seesrc" target="_blank">Source</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>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L695" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -530,7 +530,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:53 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-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -288,7 +288,9 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">secure
<li><a class="reference" href="#secure.e%2CSecure%2CConnection%2COpt%5BPeerId%5D"
title="secure(s: Secure; conn: Connection; peerId: Opt[PeerId]): Future[Connection]">secure(s: Secure; conn: Connection; peerId: Opt[PeerId]): Future[Connection]</a></li>
title="secure(s: Secure; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Connection, (CancelledError, LPStreamError)]">secure(s: Secure; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Connection, (CancelledError, LPStreamError)]</a></li>
</ul>
@ -461,9 +463,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/secure/secure.nim#L138"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/secure/secure.nim#L134"
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#L138" 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#L134" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -510,15 +512,17 @@ class="link-seesrc" target="_blank">Source</a>
</dd>
</div>
<div id="secure.e,Secure,Connection,Opt[PeerId]" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#secure.e%2CSecure%2CConnection%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">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="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dt><pre><span class="Keyword">method</span> <a href="#secure.e%2CSecure%2CConnection%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">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="../../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><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><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">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">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="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/secure/secure.nim#L158"
href="https://github.com/status-im/nim-libp2p/tree/ex-x/libp2p/protocols/secure/secure.nim#L160"
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#L158" 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#L160" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -554,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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 UTC</small>
</div>
</div>
</div>

View File

@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 UTC</small>
</div>
</div>
</div>

View File

@ -524,7 +524,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-06 12:42:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:52 UTC</small>
</div>
</div>
</div>

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-06 12:42:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -502,7 +502,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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 UTC</small>
</div>
</div>
</div>

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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 UTC</small>
</div>
</div>
</div>

View File

@ -762,7 +762,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-06 12:42:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:52 UTC</small>
</div>
</div>
</div>

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-06 12:42:29 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:32 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-06 12:42:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -488,7 +488,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-06 12:42:30 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 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-06 12:42:51 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:54 UTC</small>
</div>
</div>
</div>

View File

@ -350,7 +350,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-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:53 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-06 12:42:30 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 UTC</small>
</div>
</div>
</div>

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-06 12:42:25 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:29 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-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:53 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-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51: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-06 12:42:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51: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-06 12:42:30 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:33 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-06 12:42:25 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:29 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-06 12:42:27 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:31 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-06 12:42:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -4259,7 +4259,9 @@ 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; peerId: Opt[PeerId]): Future[Connection]" href="libp2p/protocols/secure/secure.html#secure.e%2CSecure%2CConnection%2COpt%5BPeerId%5D">secure: secure(s: Secure; conn: Connection; peerId: Opt[PeerId]): Future[Connection]</a></li>
data-doc-search-tag="secure: secure(s: Secure; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Connection, (CancelledError, LPStreamError)]" href="libp2p/protocols/secure/secure.html#secure.e%2CSecure%2CConnection%2COpt%5BPeerId%5D">secure: secure(s: Secure; conn: Connection; peerId: Opt[PeerId]): InternalRaisesFuture[
Connection, (CancelledError, LPStreamError)]</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"
@ -5378,7 +5380,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-06 12:42:53 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-07 09:51:55 UTC</small>
</div>
</div>
</div>