update docs for autonat-service

This commit is contained in:
= 2022-12-13 14:39:56 +00:00
parent 7aec95c18b
commit e4aa2bea47
79 changed files with 320 additions and 206 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-12-12 18:09:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:47 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -937,7 +937,7 @@ class="link-seesrc" 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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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-12-12 18:09:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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-12-12 18:09:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:42 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-12-12 18:09:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:41 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-12-12 18:09:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:42 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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-12-12 18:09:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:41 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-12-12 18:09:40 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:41 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-12-12 18:09:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:42 UTC</small>
</div>
</div>
</div>

View File

@ -219,8 +219,10 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">connect
<li><a class="reference" href="#connect.e%2CDial%2Cseq%5BMultiAddress%5D"
title="connect(self: Dial; addrs: seq[MultiAddress]): Future[PeerId]">connect(self: Dial; addrs: seq[MultiAddress]): Future[PeerId]</a></li>
<li><a class="reference" href="#connect.e%2CDial%2CMultiAddress"
title="connect(self: Dial; address: MultiAddress; allowUnknownPeerId = false): Future[
PeerId]">connect(self: Dial; address: MultiAddress; allowUnknownPeerId = false): Future[
PeerId]</a></li>
<li><a class="reference" href="#connect.e%2CDial%2CPeerId%2Cseq%5BMultiAddress%5D"
title="connect(self: Dial; peerId: PeerId; addrs: seq[MultiAddress]; forceDial = false): Future[
void]">connect(self: Dial; peerId: PeerId; addrs: seq[MultiAddress]; forceDial = false): Future[
@ -291,22 +293,23 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dial.nim#L67"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dial.nim#L68"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dial.nim#L67" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dial.nim#L68" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="connect.e,Dial,seq[MultiAddress]" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#connect.e%2CDial%2Cseq%5BMultiAddress%5D"><span class="Identifier">connect</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="dial.html#Dial"><span class="Identifier">Dial</span></a><span class="Other">;</span> <span class="Identifier">addrs</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="multiaddress.html#MultiAddress"><span class="Identifier">MultiAddress</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="peerid.html#PeerId"><span class="Identifier">PeerId</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="connect.e,Dial,MultiAddress" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#connect.e%2CDial%2CMultiAddress"><span class="Identifier">connect</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="dial.html#Dial"><span class="Identifier">Dial</span></a><span class="Other">;</span> <span class="Identifier">address</span><span class="Other">:</span> <a href="multiaddress.html#MultiAddress"><span class="Identifier">MultiAddress</span></a><span class="Other">;</span> <span class="Identifier">allowUnknownPeerId</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
<a href="peerid.html#PeerId"><span class="Identifier">PeerId</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>
Connects to a peer and retrieve its PeerId
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dial.nim#L39"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dial.nim#L40"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dial.nim#L39" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dial.nim#L40" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -332,9 +335,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/autonat-service/libp2p/dial.nim#L60"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dial.nim#L61"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dial.nim#L60" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dial.nim#L61" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -345,9 +348,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/autonat-service/libp2p/dial.nim#L48"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dial.nim#L49"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dial.nim#L48" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dial.nim#L49" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -359,9 +362,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dial.nim#L75"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dial.nim#L76"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dial.nim#L75" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dial.nim#L76" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -375,7 +378,7 @@ class="link-seesrc" 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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 UTC</small>
</div>
</div>
</div>

View File

@ -242,8 +242,10 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">connect
<li><a class="reference" href="#connect.e%2CDialer%2Cseq%5BMultiAddress%5D"
title="connect(self: Dialer; addrs: seq[MultiAddress]): Future[PeerId]">connect(self: Dialer; addrs: seq[MultiAddress]): Future[PeerId]</a></li>
<li><a class="reference" href="#connect.e%2CDialer%2CMultiAddress"
title="connect(self: Dialer; address: MultiAddress; allowUnknownPeerId = false): Future[
PeerId]">connect(self: Dialer; address: MultiAddress; allowUnknownPeerId = false): Future[
PeerId]</a></li>
<li><a class="reference" href="#connect.e%2CDialer%2CPeerId%2Cseq%5BMultiAddress%5D"
title="connect(self: Dialer; peerId: PeerId; addrs: seq[MultiAddress];
forceDial = false): Future[void]">connect(self: Dialer; peerId: PeerId; addrs: seq[MultiAddress];
@ -340,9 +342,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dialer.nim#L320"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dialer.nim#L332"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L320" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L332" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -357,15 +359,15 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dialer.nim#L317"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dialer.nim#L329"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L317" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L329" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="connect.e,Dialer,seq[MultiAddress]" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#connect.e%2CDialer%2Cseq%5BMultiAddress%5D"><span class="Identifier">connect</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="dialer.html#Dialer"><span class="Identifier">Dialer</span></a><span class="Other">;</span> <span class="Identifier">addrs</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="multiaddress.html#MultiAddress"><span class="Identifier">MultiAddress</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="peerid.html#PeerId"><span class="Identifier">PeerId</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">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<div id="connect.e,Dialer,MultiAddress" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#connect.e%2CDialer%2CMultiAddress"><span class="Identifier">connect</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="dialer.html#Dialer"><span class="Identifier">Dialer</span></a><span class="Other">;</span> <span class="Identifier">address</span><span class="Other">:</span> <a href="multiaddress.html#MultiAddress"><span class="Identifier">MultiAddress</span></a><span class="Other">;</span> <span class="Identifier">allowUnknownPeerId</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
<a href="peerid.html#PeerId"><span class="Identifier">PeerId</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">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
Connects to a peer and retrieve its PeerId
@ -398,9 +400,9 @@ class="link-seesrc" target="_blank">Source</a>
create a protocol stream and establish a connection if one doesn't exist already
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dialer.nim#L281"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dialer.nim#L293"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L281" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L293" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -411,9 +413,9 @@ class="link-seesrc" target="_blank">Source</a>
create a protocol stream over an existing connection
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dialer.nim#L264"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dialer.nim#L276"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L264" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L276" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -425,9 +427,9 @@ class="link-seesrc" target="_blank">Source</a>
Create a protocol stream in order to check if a connection is possible. Doesn't use the Connection Manager to save it.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dialer.nim#L243"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/dialer.nim#L255"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L243" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L255" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -436,7 +438,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="dial.html#dial.e,Dial,PeerId,seq[MultiAddress],seq[string]"><span class="Identifier">dial</span></a>, <a href="dial.html#dial.e,Dial,PeerId,seq[string]"><span class="Identifier">dial</span></a>, <a href="dial.html#connect.e,Dial,seq[MultiAddress]"><span class="Identifier">connect</span></a>, <a href="dial.html#addTransport.e,Dial,Transport"><span class="Identifier">addTransport</span></a>, <a href="dial.html#tryDial.e,Dial,PeerId,seq[MultiAddress]"><span class="Identifier">tryDial</span></a>, <a href="dial.html#Dial"><span class="Identifier">Dial</span></a>, <a href="dial.html#connect.e,Dial,PeerId,seq[MultiAddress]"><span class="Identifier">connect</span></a>, <a href="errors.html#toException,cstring"><span class="Identifier">toException</span></a>, <a href="errors.html#toException,string"><span class="Identifier">toException</span></a>, <a href="errors.html#allFuturesThrowing,varargs[Future[T]]"><span class="Identifier">allFuturesThrowing</span></a>, <a href="errors.html#tryAndWarn.t,static[string],untyped"><span class="Identifier">tryAndWarn</span></a>, <a href="errors.html#checkFutures.m,seq[Future[T]],untyped"><span class="Identifier">checkFutures</span></a>, <a href="errors.html#LPError"><span class="Identifier">LPError</span></a>
<a href="dial.html#dial.e,Dial,PeerId,seq[MultiAddress],seq[string]"><span class="Identifier">dial</span></a>, <a href="dial.html#dial.e,Dial,PeerId,seq[string]"><span class="Identifier">dial</span></a>, <a href="dial.html#connect.e,Dial,MultiAddress"><span class="Identifier">connect</span></a>, <a href="dial.html#addTransport.e,Dial,Transport"><span class="Identifier">addTransport</span></a>, <a href="dial.html#tryDial.e,Dial,PeerId,seq[MultiAddress]"><span class="Identifier">tryDial</span></a>, <a href="dial.html#Dial"><span class="Identifier">Dial</span></a>, <a href="dial.html#connect.e,Dial,PeerId,seq[MultiAddress]"><span class="Identifier">connect</span></a>, <a href="errors.html#toException,cstring"><span class="Identifier">toException</span></a>, <a href="errors.html#toException,string"><span class="Identifier">toException</span></a>, <a href="errors.html#allFuturesThrowing,varargs[Future[T]]"><span class="Identifier">allFuturesThrowing</span></a>, <a href="errors.html#tryAndWarn.t,static[string],untyped"><span class="Identifier">tryAndWarn</span></a>, <a href="errors.html#checkFutures.m,seq[Future[T]],untyped"><span class="Identifier">checkFutures</span></a>, <a href="errors.html#LPError"><span class="Identifier">LPError</span></a>
</dl></div>
</div>
@ -446,7 +448,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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-12-12 18:09:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 UTC</small>
</div>
</div>
</div>

View File

@ -2222,7 +2222,7 @@ class="link-seesrc" 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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 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-12-12 18:09:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:43 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-12-12 18:09:42 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:42 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-12-12 18:09:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:43 UTC</small>
</div>
</div>
</div>

View File

@ -206,10 +206,11 @@ window.addEventListener("DOMContentLoaded", main2);
<a class="reference reference-toplevel" href="#7" id="57">Types</a>
<ul class="simple simple-toc-section">
<li><a class="reference" href="#HandlerHolder"
title="HandlerHolder = object
title="HandlerHolder = ref object
protos*: seq[string]
protocol*: LPProtocol
match*: Matcher">HandlerHolder</a></li>
match*: Matcher
openedStreams: CountTable[PeerId]">HandlerHolder</a></li>
<li><a class="reference" href="#Matcher"
title="Matcher = proc (proto: string): bool {.gcsafe, raises: [Defect].}">Matcher</a></li>
<li><a class="reference" href="#MultiStreamError"
@ -231,7 +232,7 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#MSCodec"
title="MSCodec = &quot;\x13/multistream/1.0.0\n&quot;">MSCodec</a></li>
<li><a class="reference" href="#MsgSize"
title="MsgSize = 65536">MsgSize</a></li>
title="MsgSize = 1024">MsgSize</a></li>
<li><a class="reference" href="#Na"
title="Na = &quot;\x03na\n&quot;">Na</a></li>
@ -318,10 +319,11 @@ class="link-seesrc" target="_blank">Source</a>
<h1><a class="toc-backref" href="#7">Types</a></h1>
<dl class="item">
<div id="HandlerHolder" class="tohide">
<dt><pre><a href="multistream.html#HandlerHolder"><span class="Identifier">HandlerHolder</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
<dt><pre><a href="multistream.html#HandlerHolder"><span class="Identifier">HandlerHolder</span></a> <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span>
<span class="Identifier">protos</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">protocol</span><span class="Operator">*</span><span class="Other">:</span> <a href="protocols/protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>
<span class="Identifier">match</span><span class="Operator">*</span><span class="Other">:</span> <a href="multistream.html#Matcher"><span class="Identifier">Matcher</span></a>
<span class="Identifier">openedStreams</span><span class="Other">:</span> <span class="Identifier">CountTable</span><span class="Other">[</span><a href="peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">]</span>
</pre></dt>
<dd>
@ -366,9 +368,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L41"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L42"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L41" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L42" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -414,7 +416,7 @@ class="link-seesrc" target="_blank">Source</a>
</dd>
</div>
<div id="MsgSize" class="tohide">
<dt><pre><a href="multistream.html#MsgSize"><span class="Identifier">MsgSize</span></a> <span class="Other">=</span> <span class="DecNumber">65536</span></pre></dt>
<dt><pre><a href="multistream.html#MsgSize"><span class="Identifier">MsgSize</span></a> <span class="Other">=</span> <span class="DecNumber">1024</span></pre></dt>
<dd>
@ -449,9 +451,9 @@ class="link-seesrc" target="_blank">Source</a>
helper to allow registering pure handlers
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L202"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L218"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L202" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L218" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -462,9 +464,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L196"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L212"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L196" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L212" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -475,9 +477,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L187"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L203"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L187" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L203" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -489,9 +491,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L129"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L132"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L129" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L132" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -502,9 +504,9 @@ class="link-seesrc" target="_blank">Source</a>
list remote protos requests on connection
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L114"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L117"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L114" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L117" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -514,9 +516,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L45"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L46"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L45" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L46" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -527,9 +529,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L110"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L113"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L110" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L113" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -541,9 +543,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L57"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L60"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L57" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L60" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -554,9 +556,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L104"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L107"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L104" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L107" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -567,9 +569,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L216"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L232"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L216" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L232" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -580,9 +582,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L219"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/multistream.nim#L235"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L219" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L235" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -596,7 +598,7 @@ class="link-seesrc" 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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 UTC</small>
</div>
</div>
</div>

View File

@ -547,7 +547,7 @@ class="link-seesrc" 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 UTC</small>
</div>
</div>
</div>

View File

@ -374,7 +374,7 @@ class="link-seesrc" 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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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: 2022-12-12 18:09:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 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: 2022-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 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: 2022-12-12 18:09:39 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:40 UTC</small>
</div>
</div>
</div>

View File

@ -526,7 +526,7 @@ class="link-seesrc" 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:46 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:46 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:46 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 UTC</small>
</div>
</div>
</div>

View File

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

View File

@ -209,13 +209,22 @@ window.addEventListener("DOMContentLoaded", main2);
title="LPProtocol = ref object of RootObj
codecs*: seq[string]
handler*: LPProtoHandler ## this handler gets invoked by the protocol negotiator
started*: bool">LPProtocol</a></li>
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: [Defect].}">LPProtoHandler</a></li>
</ul>
</li>
<li>
<a class="reference reference-toplevel" href="#10" id="60">Consts</a>
<ul class="simple simple-toc-section">
<li><a class="reference" href="#DefaultMaxIncomingStreams"
title="DefaultMaxIncomingStreams = 10">DefaultMaxIncomingStreams</a></li>
</ul>
</li>
<li>
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
<ul class="simple simple-toc-section">
@ -228,6 +237,23 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#codec%3D%2CLPProtocol%2Cstring"
title="codec=(p: LPProtocol; codec: string)">codec=(p: LPProtocol; codec: string)</a></li>
</ul>
<ul class="simple nested-toc-section">maxIncomingStreams
<li><a class="reference" href="#maxIncomingStreams%2CLPProtocol"
title="maxIncomingStreams(p: LPProtocol): int">maxIncomingStreams(p: LPProtocol): int</a></li>
</ul>
<ul class="simple nested-toc-section">maxIncomingStreams=
<li><a class="reference" href="#maxIncomingStreams%3D%2CLPProtocol%2Cint"
title="maxIncomingStreams=(p: LPProtocol; val: int)">maxIncomingStreams=(p: LPProtocol; val: int)</a></li>
</ul>
<ul class="simple nested-toc-section">new
<li><a class="reference" href="#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2CLPProtoHandler"
title="new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
maxIncomingStreams: Opt[int] | int = Opt[int]()): T:type">new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
maxIncomingStreams: Opt[int] | int = Opt[int]()): T:type</a></li>
</ul>
</ul>
@ -279,14 +305,15 @@ class="link-seesrc" target="_blank">Source</a>
<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">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>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L25"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L30"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L25" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L30" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -297,9 +324,26 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L19"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L24"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L19" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L24" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
</dl></div>
<div class="section" id="10">
<h1><a class="toc-backref" href="#10">Consts</a></h1>
<dl class="item">
<div id="DefaultMaxIncomingStreams" class="tohide">
<dt><pre><a href="protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a> <span class="Other">=</span> <span class="DecNumber">10</span></pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L21"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L21" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -314,9 +358,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L35"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/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#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#L46" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -326,9 +370,46 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L39"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L50"
class="link-seesrc" target="_blank">Source</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>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L50" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="maxIncomingStreams,LPProtocol" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#maxIncomingStreams%2CLPProtocol"><span class="Identifier">maxIncomingStreams</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L40"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L40" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="maxIncomingStreams=,LPProtocol,int" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#maxIncomingStreams%3D%2CLPProtocol%2Cint"><span class="Identifier">maxIncomingStreams=</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span> <span class="Identifier">val</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L43"
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>
</dd>
</div>
<div id="new,typeLPProtocol,seq[string],LPProtoHandler" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2CLPProtoHandler"><span class="Identifier">new</span></a><span class="Other">(</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Keyword">type</span> <span class="Identifier">LPProtocol</span><span class="Other">;</span> <span class="Identifier">codecs</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a><span class="Other">;</span>
<span class="Identifier">maxIncomingStreams</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">int</span><span class="Other">]</span> <span class="Operator">|</span> <span class="Identifier">int</span> <span class="Other">=</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">int</span><span class="Other">]</span><span class="Other">(</span><span class="Other">)</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">T:type</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L55"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L55" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -343,9 +424,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L30"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/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#L30" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L36" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -356,9 +437,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L31"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L37"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L31" class="link-seesrc" target="_blank" >Edit</a>
&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>
</dd>
</div>
@ -369,9 +450,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L32"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/protocols/protocol.nim#L38"
class="link-seesrc" target="_blank">Source</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>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L38" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -385,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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -255,7 +255,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-12 18:09:46 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:46 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-12-12 18:09:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:47 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

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-12-12 18:09:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:47 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-12-12 18:09:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:47 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-12-12 18:09:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:47 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-12-12 18:09:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:47 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-12-12 18:09:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:47 UTC</small>
</div>
</div>
</div>

View File

@ -1147,7 +1147,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="19">
<h1><a class="toc-backref" href="#19">Exports</a></h1>
<dl class="item">
<a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a>, <a href="pubsubpeer.html#PubSubObserver"><span class="Identifier">PubSubObserver</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="errors.html#ValidationResult"><span class="Identifier">ValidationResult</span></a>
<a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a>, <a href="pubsubpeer.html#PubSubObserver"><span class="Identifier">PubSubObserver</span></a>, <a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="errors.html#ValidationResult"><span class="Identifier">ValidationResult</span></a>
</dl></div>
</div>
@ -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-12-12 18:09:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:47 UTC</small>
</div>
</div>
</div>

View File

@ -643,7 +643,7 @@ class="link-seesrc" 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-12-12 18:09:46 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:47 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: 2022-12-12 18:09:46 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:46 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-12-12 18:09:46 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:46 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-12-12 18:09:46 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:46 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-12-12 18:09:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:47 UTC</small>
</div>
</div>
</div>

View File

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

View File

@ -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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 UTC</small>
</div>
</div>
</div>

View File

@ -538,7 +538,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="19">
<h1><a class="toc-backref" href="#19">Exports</a></h1>
<dl class="item">
<a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>
<a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>
</dl></div>
</div>
@ -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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 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: 2022-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 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: 2022-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 UTC</small>
</div>
</div>
</div>

View File

@ -511,7 +511,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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: 2022-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 UTC</small>
</div>
</div>
</div>

View File

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

View File

@ -1109,7 +1109,7 @@ class="link-seesrc" 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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 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-12-12 18:09:43 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 UTC</small>
</div>
</div>
</div>

View File

@ -472,7 +472,7 @@ class="link-seesrc" 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 UTC</small>
</div>
</div>
</div>

View File

@ -490,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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 UTC</small>
</div>
</div>
</div>

View File

@ -552,7 +552,7 @@ class="link-seesrc" 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-12-12 18:09:46 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:46 UTC</small>
</div>
</div>
</div>

View File

@ -390,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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 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-12-12 18:09:39 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:40 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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: 2022-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 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-12-12 18:09:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:44 UTC</small>
</div>
</div>
</div>

View File

@ -562,9 +562,9 @@ class="link-seesrc" target="_blank">Source</a>
Encode integer to LibP2P <tt class="docutils literal"><span class="pre"><span class="Identifier">unsigned</span> <span class="Identifier">varint</span></span></tt> and returns sequence of bytes as buffer.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L294"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L291"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L294" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L291" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -575,9 +575,9 @@ class="link-seesrc" target="_blank">Source</a>
Encode integer to Google ProtoBuf's <tt class="docutils literal"><span class="pre"><span class="Identifier">signed</span><span class="Operator">/</span><span class="Identifier">unsigned</span> <span class="Identifier">varint</span></span></tt> and returns sequence of bytes as buffer.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L274"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L271"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L274" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L271" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -595,9 +595,9 @@ class="link-seesrc" target="_blank">Source</a>
<p>Note, when decoding 10th byte of 64bit integer only 1 bit from byte will be decoded, all other bits will be ignored. When decoding 5th byte of 32bit integer only 4 bits from byte will be decoded, all other bits will be ignored.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L186"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L183"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L186" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L183" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -615,9 +615,9 @@ class="link-seesrc" target="_blank">Source</a>
<p>LibP2P When decoding 5th byte of 32bit integer only 4 bits from byte will be decoded, all other bits will be ignored.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L108"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L105"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L108" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L105" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -629,9 +629,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L253"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L250"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L253" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L250" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -647,9 +647,9 @@ class="link-seesrc" target="_blank">Source</a>
<p>Maximum encoded length of 64bit integer is 10 octets. Maximum encoded length of 32bit integer is 5 octets.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L216"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L213"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L216" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L213" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -666,9 +666,9 @@ class="link-seesrc" target="_blank">Source</a>
<p>LibP2P Maximum encoded length of 63bit integer is 9 octets. Maximum encoded length of 32bit integer is 5 octets.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L154"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L151"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L154" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L151" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -680,9 +680,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L236"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L233"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L236" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L233" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -692,9 +692,9 @@ class="link-seesrc" target="_blank">Source</a>
Returns number of bytes required to encode integer <tt class="docutils literal"><span class="pre">x</span></tt> as varint.
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L104"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L101"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L104" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L101" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -709,9 +709,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L271"
href="https://github.com/status-im/nim-libp2p/tree/autonat-service/libp2p/varint.nim#L268"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L271" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/varint.nim#L268" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -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-12-12 18:09:39 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:40 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-12-12 18:09:41 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:42 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-12-12 18:09:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:45 UTC</small>
</div>
</div>
</div>

View File

@ -701,25 +701,31 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="connect" href="#connect"><span>connect:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="dial: connect(self: Dial; address: MultiAddress; allowUnknownPeerId = false): Future[
PeerId]" href="libp2p/dial.html#connect.e%2CDial%2CMultiAddress">dial: connect(self: Dial; address: MultiAddress; allowUnknownPeerId = false): Future[
PeerId]</a></li>
<li><a class="reference external"
data-doc-search-tag="dial: connect(self: Dial; peerId: PeerId; addrs: seq[MultiAddress]; forceDial = false): Future[
void]" href="libp2p/dial.html#connect.e%2CDial%2CPeerId%2Cseq%5BMultiAddress%5D">dial: connect(self: Dial; peerId: PeerId; addrs: seq[MultiAddress]; forceDial = false): Future[
void]</a></li>
<li><a class="reference external"
data-doc-search-tag="dial: connect(self: Dial; addrs: seq[MultiAddress]): Future[PeerId]" href="libp2p/dial.html#connect.e%2CDial%2Cseq%5BMultiAddress%5D">dial: connect(self: Dial; addrs: seq[MultiAddress]): Future[PeerId]</a></li>
data-doc-search-tag="dialer: connect(self: Dialer; address: MultiAddress; allowUnknownPeerId = false): Future[
PeerId]" href="libp2p/dialer.html#connect.e%2CDialer%2CMultiAddress">dialer: connect(self: Dialer; address: MultiAddress; allowUnknownPeerId = false): Future[
PeerId]</a></li>
<li><a class="reference external"
data-doc-search-tag="dialer: connect(self: Dialer; peerId: PeerId; addrs: seq[MultiAddress];
forceDial = false): Future[void]" href="libp2p/dialer.html#connect.e%2CDialer%2CPeerId%2Cseq%5BMultiAddress%5D">dialer: connect(self: Dialer; peerId: PeerId; addrs: seq[MultiAddress];
forceDial = false): Future[void]</a></li>
<li><a class="reference external"
data-doc-search-tag="dialer: connect(self: Dialer; addrs: seq[MultiAddress]): Future[PeerId]" href="libp2p/dialer.html#connect.e%2CDialer%2Cseq%5BMultiAddress%5D">dialer: connect(self: Dialer; addrs: seq[MultiAddress]): Future[PeerId]</a></li>
<li><a class="reference external"
data-doc-search-tag="pubsubpeer: connect(p: PubSubPeer)" href="libp2p/protocols/pubsub/pubsubpeer.html#connect%2CPubSubPeer">pubsubpeer: connect(p: PubSubPeer)</a></li>
<li><a class="reference external"
data-doc-search-tag="switch: connect(s: Switch; address: MultiAddress; allowUnknownPeerId = false): Future[
PeerId]" href="libp2p/switch.html#connect.e%2CSwitch%2CMultiAddress">switch: connect(s: Switch; address: MultiAddress; allowUnknownPeerId = false): Future[
PeerId]</a></li>
<li><a class="reference external"
data-doc-search-tag="switch: connect(s: Switch; peerId: PeerId; addrs: seq[MultiAddress]; forceDial = false): Future[
void]" href="libp2p/switch.html#connect.e%2CSwitch%2CPeerId%2Cseq%5BMultiAddress%5D">switch: connect(s: Switch; peerId: PeerId; addrs: seq[MultiAddress]; forceDial = false): Future[
void]</a></li>
<li><a class="reference external"
data-doc-search-tag="switch: connect(s: Switch; addrs: seq[MultiAddress]): Future[PeerId]" href="libp2p/switch.html#connect.e%2CSwitch%2Cseq%5BMultiAddress%5D">switch: connect(s: Switch; addrs: seq[MultiAddress]): Future[PeerId]</a></li>
<li><a class="reference external"
data-doc-search-tag="wire: connect(ma: MultiAddress; bufferSize = DefaultStreamBufferSize;
child: StreamTransport = nil): Future[StreamTransport]" href="libp2p/wire.html#connect%2CMultiAddress%2CStreamTransport">wire: connect(ma: MultiAddress; bufferSize = DefaultStreamBufferSize;
@ -1039,6 +1045,10 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="relay: DefaultLimitDuration" href="libp2p/protocols/connectivity/relay/relay.html#DefaultLimitDuration">relay: DefaultLimitDuration</a></li>
</ul></dd>
<dt><a name="DefaultMaxIncomingStreams" href="#DefaultMaxIncomingStreams"><span>DefaultMaxIncomingStreams:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="protocol: DefaultMaxIncomingStreams" href="libp2p/protocols/protocol.html#DefaultMaxIncomingStreams">protocol: DefaultMaxIncomingStreams</a></li>
</ul></dd>
<dt><a name="defaultMsgIdProvider" href="#defaultMsgIdProvider"><span>defaultMsgIdProvider:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="message: defaultMsgIdProvider(m: Message): Result[MessageId, ValidationResult]" href="libp2p/protocols/pubsub/rpc/message.html#defaultMsgIdProvider%2CMessage">message: defaultMsgIdProvider(m: Message): Result[MessageId, ValidationResult]</a></li>
@ -2799,6 +2809,14 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="multihash: MaxHashSize" href="libp2p/multihash.html#MaxHashSize">multihash: MaxHashSize</a></li>
</ul></dd>
<dt><a name="maxIncomingStreams" href="#maxIncomingStreams"><span>maxIncomingStreams:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="protocol: maxIncomingStreams(p: LPProtocol): int" href="libp2p/protocols/protocol.html#maxIncomingStreams%2CLPProtocol">protocol: maxIncomingStreams(p: LPProtocol): int</a></li>
</ul></dd>
<dt><a name="maxIncomingStreams%3D" href="#maxIncomingStreams%3D"><span>maxIncomingStreams=:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="protocol: maxIncomingStreams=(p: LPProtocol; val: int)" href="libp2p/protocols/protocol.html#maxIncomingStreams%3D%2CLPProtocol%2Cint">protocol: maxIncomingStreams=(p: LPProtocol; val: int)</a></li>
</ul></dd>
<dt><a name="maxInlineKeyLength" href="#maxInlineKeyLength"><span>maxInlineKeyLength:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="peerid: maxInlineKeyLength" href="libp2p/peerid.html#maxInlineKeyLength">peerid: maxInlineKeyLength</a></li>
@ -3040,6 +3058,10 @@ window.addEventListener('DOMContentLoaded', main);
data-doc-search-tag="ping: new(T: typedesc[Ping]; handler: PingHandler = nil;
rng: ref HmacDrbgContext = newRng()): T:type" href="libp2p/protocols/ping.html#new%2Ctypedesc%5BPing%5D%2CPingHandler%2Cref.HmacDrbgContext">ping: new(T: typedesc[Ping]; handler: PingHandler = nil;
rng: ref HmacDrbgContext = newRng()): T:type</a></li>
<li><a class="reference external"
data-doc-search-tag="protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
maxIncomingStreams: Opt[int] | int = Opt[int]()): T:type" href="libp2p/protocols/protocol.html#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2CLPProtoHandler">protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
maxIncomingStreams: Opt[int] | int = Opt[int]()): T:type</a></li>
<li><a class="reference external"
data-doc-search-tag="pubsubpeer: new(T: typedesc[PubSubPeer]; peerId: PeerId; getConn: GetConn; onEvent: OnEvent;
codec: string; maxMessageSize: int): T:type" href="libp2p/protocols/pubsub/pubsubpeer.html#new%2Ctypedesc%5BPubSubPeer%5D%2CPeerId%2CGetConn%2COnEvent%2Cstring%2Cint">pubsubpeer: new(T: typedesc[PubSubPeer]; peerId: PeerId; getConn: GetConn; onEvent: OnEvent;
@ -5114,7 +5136,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-12-12 18:09:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2022-12-13 14:39:47 UTC</small>
</div>
</div>
</div>