update docs for unstable
This commit is contained in:
parent
b9e9d96b1f
commit
0f83a771ad
|
@ -260,7 +260,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:38 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -874,7 +874,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1621,7 +1621,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:34 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -398,7 +398,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1450,7 +1450,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:33 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:04 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3040,7 +3040,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:32 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:04 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -940,7 +940,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:33 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:04 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -275,7 +275,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1195,7 +1195,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:32 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:03 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1029,7 +1029,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:32 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:03 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -908,7 +908,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:33 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:04 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -381,7 +381,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -450,7 +450,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -340,7 +340,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:34 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2551,7 +2551,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:34 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -396,7 +396,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:33 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:05 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -481,7 +481,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:33 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:05 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -689,7 +689,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:34 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:05 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -226,10 +226,6 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||||
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
|
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
|
||||||
<ul class="simple simple-toc-section">
|
<ul class="simple simple-toc-section">
|
||||||
<ul class="simple nested-toc-section">addHandler
|
<ul class="simple nested-toc-section">addHandler
|
||||||
<li><a class="reference" href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtoHandler%2CMatcher"
|
|
||||||
title="addHandler(m: MultistreamSelect; codec: string; handler: LPProtoHandler;
|
|
||||||
matcher: Matcher = nil)">addHandler(m: MultistreamSelect; codec: string; handler: LPProtoHandler;
|
|
||||||
matcher: Matcher = nil)</a></li>
|
|
||||||
<li><a class="reference" href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher"
|
<li><a class="reference" href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher"
|
||||||
title="addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
|
title="addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
|
||||||
matcher: Matcher = nil)">addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
|
matcher: Matcher = nil)">addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
|
||||||
|
@ -238,6 +234,12 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||||
title="addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol;
|
title="addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol;
|
||||||
matcher: Matcher = nil)">addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol;
|
matcher: Matcher = nil)">addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol;
|
||||||
matcher: Matcher = nil)</a></li>
|
matcher: Matcher = nil)</a></li>
|
||||||
|
<li><a class="reference" href="#addHandler%2CMultistreamSelect%2Cstring%2C%2CMatcher"
|
||||||
|
title="addHandler[E](m: MultistreamSelect; codec: string; handler: LPProtoHandler |
|
||||||
|
proc (conn: Connection; proto: string): InternalRaisesFuture[void, E];
|
||||||
|
matcher: Matcher = nil)">addHandler[E](m: MultistreamSelect; codec: string; handler: LPProtoHandler |
|
||||||
|
proc (conn: Connection; proto: string): InternalRaisesFuture[void, E];
|
||||||
|
matcher: Matcher = nil)</a></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="simple nested-toc-section">handle
|
<ul class="simple nested-toc-section">handle
|
||||||
|
@ -379,19 +381,6 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="section" id="12">
|
<div class="section" id="12">
|
||||||
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
||||||
<dl class="item">
|
<dl class="item">
|
||||||
<div id="addHandler,MultistreamSelect,string,LPProtoHandler,Matcher" class="tohide">
|
|
||||||
<dt><pre><span class="Keyword">proc</span> <a href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtoHandler%2CMatcher"><span class="Identifier">addHandler</span></a><span class="Other">(</span><span class="Identifier">m</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a><span class="Other">;</span> <span class="Identifier">codec</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <a href="protocols/protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a><span class="Other">;</span>
|
|
||||||
<span class="Identifier">matcher</span><span class="Other">:</span> <a href="multistream.html#Matcher"><span class="Identifier">Matcher</span></a> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
|
||||||
<dd>
|
|
||||||
|
|
||||||
helper to allow registering pure handlers
|
|
||||||
<a
|
|
||||||
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L249"
|
|
||||||
class="link-seesrc" target="_blank">Source</a>
|
|
||||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L249" class="link-seesrc" target="_blank" >Edit</a>
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
</div>
|
|
||||||
<div id="addHandler,MultistreamSelect,string,LPProtocol,Matcher" class="tohide">
|
<div id="addHandler,MultistreamSelect,string,LPProtocol,Matcher" class="tohide">
|
||||||
<dt><pre><span class="Keyword">proc</span> <a href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher"><span class="Identifier">addHandler</span></a><span class="Other">(</span><span class="Identifier">m</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a><span class="Other">;</span> <span class="Identifier">codec</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">protocol</span><span class="Other">:</span> <a href="protocols/protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span>
|
<dt><pre><span class="Keyword">proc</span> <a href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher"><span class="Identifier">addHandler</span></a><span class="Other">(</span><span class="Identifier">m</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a><span class="Other">;</span> <span class="Identifier">codec</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">protocol</span><span class="Other">:</span> <a href="protocols/protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span>
|
||||||
<span class="Identifier">matcher</span><span class="Other">:</span> <a href="multistream.html#Matcher"><span class="Identifier">Matcher</span></a> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
<span class="Identifier">matcher</span><span class="Other">:</span> <a href="multistream.html#Matcher"><span class="Identifier">Matcher</span></a> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||||
|
@ -416,6 +405,20 @@ href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.n
|
||||||
class="link-seesrc" target="_blank">Source</a>
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L234" class="link-seesrc" target="_blank" >Edit</a>
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L234" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</div>
|
||||||
|
<div id="addHandler,MultistreamSelect,string,,Matcher" class="tohide">
|
||||||
|
<dt><pre><span class="Keyword">proc</span> <a href="#addHandler%2CMultistreamSelect%2Cstring%2C%2CMatcher"><span class="Identifier">addHandler</span></a><span class="Other">[</span><span class="Identifier">E</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">m</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a><span class="Other">;</span> <span class="Identifier">codec</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <a href="protocols/protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a> <span class="Operator">|</span>
|
||||||
|
<span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">conn</span><span class="Other">:</span> <a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">proto</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">,</span> <span class="Identifier">E</span><span class="Other">]</span><span class="Other">;</span>
|
||||||
|
<span class="Identifier">matcher</span><span class="Other">:</span> <a href="multistream.html#Matcher"><span class="Identifier">Matcher</span></a> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
helper to allow registering pure handlers
|
||||||
|
<a
|
||||||
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L249"
|
||||||
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L249" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
<div id="handle,typeMultistreamSelect,Connection,seq[string],bool" class="tohide">
|
<div id="handle,typeMultistreamSelect,Connection,seq[string],bool" class="tohide">
|
||||||
|
@ -526,9 +529,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L263"
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L267"
|
||||||
class="link-seesrc" target="_blank">Source</a>
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L263" class="link-seesrc" target="_blank" >Edit</a>
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L267" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
|
@ -540,9 +543,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L286"
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/multistream.nim#L290"
|
||||||
class="link-seesrc" target="_blank">Source</a>
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L286" class="link-seesrc" target="_blank" >Edit</a>
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L290" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
|
@ -556,7 +559,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -399,7 +399,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -455,7 +455,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -535,7 +535,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -606,7 +606,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -375,7 +375,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -360,7 +360,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -806,7 +806,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:34 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -484,7 +484,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -931,7 +931,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:31 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:02 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -508,7 +508,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -302,7 +302,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:08 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -722,7 +722,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -383,7 +383,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -568,7 +568,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:08 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:08 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -376,7 +376,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -535,7 +535,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
<div id="init,IdentifyPush" class="tohide">
|
<div id="init,IdentifyPush" class="tohide">
|
||||||
<dt><pre><span class="Keyword">proc</span> <a href="#init%2CIdentifyPush"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="identify.html#IdentifyPush"><span class="Identifier">IdentifyPush</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
<dt><pre><span class="Keyword">proc</span> <a href="#init%2CIdentifyPush"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="identify.html#IdentifyPush"><span class="Identifier">IdentifyPush</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
@ -593,7 +593,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<h1><a class="toc-backref" href="#14">Methods</a></h1>
|
<h1><a class="toc-backref" href="#14">Methods</a></h1>
|
||||||
<dl class="item">
|
<dl class="item">
|
||||||
<div id="init.e,Identify" class="tohide">
|
<div id="init.e,Identify" class="tohide">
|
||||||
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CIdentify"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="identify.html#Identify"><span class="Identifier">Identify</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CIdentify"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="identify.html#Identify"><span class="Identifier">Identify</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -388,7 +388,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<h1><a class="toc-backref" href="#14">Methods</a></h1>
|
<h1><a class="toc-backref" href="#14">Methods</a></h1>
|
||||||
<dl class="item">
|
<dl class="item">
|
||||||
<div id="init.e,Ping" class="tohide">
|
<div id="init.e,Ping" class="tohide">
|
||||||
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CPing"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="ping.html#Ping"><span class="Identifier">Ping</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CPing"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="ping.html#Ping"><span class="Identifier">Ping</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:37 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -208,12 +208,11 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||||
<li><a class="reference" href="#LPProtocol"
|
<li><a class="reference" href="#LPProtocol"
|
||||||
title="LPProtocol = ref object of RootObj
|
title="LPProtocol = ref object of RootObj
|
||||||
codecs*: seq[string]
|
codecs*: seq[string]
|
||||||
handler*: LPProtoHandler ## this handler gets invoked by the protocol negotiator
|
handlerImpl: LPProtoHandler ## invoked by the protocol negotiator
|
||||||
started*: bool
|
started*: bool
|
||||||
maxIncomingStreams: Opt[int]">LPProtocol</a></li>
|
maxIncomingStreams: Opt[int]">LPProtocol</a></li>
|
||||||
<li><a class="reference" href="#LPProtoHandler"
|
<li><a class="reference" href="#LPProtoHandler"
|
||||||
title="LPProtoHandler = proc (conn: Connection; proto: string): Future[void] {.gcsafe,
|
title="LPProtoHandler = proc (conn: Connection; proto: string): Future[void] {.async.}">LPProtoHandler</a></li>
|
||||||
raises: [].}">LPProtoHandler</a></li>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
@ -237,6 +236,15 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||||
<li><a class="reference" href="#codec%3D%2CLPProtocol%2Cstring"
|
<li><a class="reference" href="#codec%3D%2CLPProtocol%2Cstring"
|
||||||
title="codec=(p: LPProtocol; codec: string)">codec=(p: LPProtocol; codec: string)</a></li>
|
title="codec=(p: LPProtocol; codec: string)">codec=(p: LPProtocol; codec: string)</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
<ul class="simple nested-toc-section">handler=
|
||||||
|
<li><a class="reference" href="#handler%3D%2CLPProtocol%2CLPProtoHandler"
|
||||||
|
title="handler=(p: LPProtocol; handler: LPProtoHandler)">handler=(p: LPProtocol; handler: LPProtoHandler)</a></li>
|
||||||
|
<li><a class="reference" href="#handler%3D%2CLPProtocol%2Cproc%28Connection%2Cstring%29"
|
||||||
|
title="handler=[E](p: LPProtocol; handler: proc (conn: Connection; proto: string): InternalRaisesFuture[
|
||||||
|
void, E])">handler=[E](p: LPProtocol; handler: proc (conn: Connection; proto: string): InternalRaisesFuture[
|
||||||
|
void, E])</a></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="simple nested-toc-section">maxIncomingStreams
|
<ul class="simple nested-toc-section">maxIncomingStreams
|
||||||
<li><a class="reference" href="#maxIncomingStreams%2CLPProtocol"
|
<li><a class="reference" href="#maxIncomingStreams%2CLPProtocol"
|
||||||
|
@ -253,6 +261,12 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||||
title="new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
|
title="new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
|
||||||
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type">new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
|
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type">new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
|
||||||
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
|
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
|
||||||
|
<li><a class="reference" href="#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2Cproc%28Connection%2Cstring%29"
|
||||||
|
title="new[E](T: type LPProtocol; codecs: seq[string]; handler: proc (conn: Connection;
|
||||||
|
proto: string): InternalRaisesFuture[void, E];
|
||||||
|
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type">new[E](T: type LPProtocol; codecs: seq[string]; handler: proc (conn: Connection;
|
||||||
|
proto: string): InternalRaisesFuture[void, E];
|
||||||
|
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -279,6 +293,19 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="reference reference-toplevel" href="#18" id="68">Templates</a>
|
||||||
|
<ul class="simple simple-toc-section">
|
||||||
|
<ul class="simple nested-toc-section">handler
|
||||||
|
<li><a class="reference" href="#handler.t%2CLPProtocol"
|
||||||
|
title="handler(p: LPProtocol): LPProtoHandler">handler(p: LPProtocol): LPProtoHandler</a></li>
|
||||||
|
<li><a class="reference" href="#handler.t%2CLPProtocol%2CConnection%2Cstring"
|
||||||
|
title="handler(p: LPProtocol; conn: Connection; proto: string): Future[void]">handler(p: LPProtocol; conn: Connection; proto: string): Future[void]</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -303,7 +330,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div id="LPProtocol" class="tohide">
|
<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>
|
<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">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">handlerImpl</span><span class="Other">:</span> <a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a> <span class="Comment">## 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">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>
|
<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>
|
</pre></dt>
|
||||||
|
@ -311,15 +338,14 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L27"
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L25"
|
||||||
class="link-seesrc" target="_blank">Source</a>
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L27" class="link-seesrc" target="_blank" >Edit</a>
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L25" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
<div id="LPProtoHandler" class="tohide">
|
<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>
|
<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>.}</pre></dt>
|
||||||
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
|
||||||
<dd>
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
@ -358,9 +384,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L54"
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L52"
|
||||||
class="link-seesrc" target="_blank">Source</a>
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L54" class="link-seesrc" target="_blank" >Edit</a>
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L52" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
|
@ -370,9 +396,34 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L58"
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L56"
|
||||||
class="link-seesrc" target="_blank">Source</a>
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L58" class="link-seesrc" target="_blank" >Edit</a>
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L56" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</div>
|
||||||
|
<div id="handler=,LPProtocol,LPProtoHandler" class="tohide">
|
||||||
|
<dt><pre><span class="Keyword">func</span> <a href="#handler%3D%2CLPProtocol%2CLPProtoHandler"><span class="Identifier">handler=</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
<a
|
||||||
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L68"
|
||||||
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L68" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</div>
|
||||||
|
<div id="handler=,LPProtocol,proc(Connection,string)" class="tohide">
|
||||||
|
<dt><pre><span class="Keyword">func</span> <a href="#handler%3D%2CLPProtocol%2Cproc%28Connection%2Cstring%29"><span class="Identifier">handler=</span></a><span class="Other">[</span><span class="Identifier">E</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">proto</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span>
|
||||||
|
<span class="Identifier">void</span><span class="Other">,</span> <span class="Identifier">E</span><span class="Other">]</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
<a
|
||||||
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L77"
|
||||||
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L77" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
|
@ -382,9 +433,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L48"
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L46"
|
||||||
class="link-seesrc" target="_blank">Source</a>
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L48" class="link-seesrc" target="_blank" >Edit</a>
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L46" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
|
@ -394,9 +445,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L51"
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L49"
|
||||||
class="link-seesrc" target="_blank">Source</a>
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L51" class="link-seesrc" target="_blank" >Edit</a>
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L49" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
|
@ -408,9 +459,24 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L63"
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L86"
|
||||||
class="link-seesrc" target="_blank">Source</a>
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L63" class="link-seesrc" target="_blank" >Edit</a>
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L86" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</div>
|
||||||
|
<div id="new,typeLPProtocol,seq[string],proc(Connection,string)" class="tohide">
|
||||||
|
<dt><pre><span class="Keyword">proc</span> <a href="#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2Cproc%28Connection%2Cstring%29"><span class="Identifier">new</span></a><span class="Other">[</span><span class="Identifier">E</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Keyword">type</span> <span class="Identifier">LPProtocol</span><span class="Other">;</span> <span class="Identifier">codecs</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span>
|
||||||
|
<span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">proto</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">,</span> <span class="Identifier">E</span><span class="Other">]</span><span class="Other">;</span>
|
||||||
|
<span class="Identifier">maxIncomingStreams</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">int</span><span class="Other">]</span> <span class="Operator">|</span> <span class="Identifier">int</span> <span class="Other">=</span> <span class="Identifier">Opt</span><span class="Other">.</span><span class="Identifier">none</span><span class="Other">(</span><span class="Identifier">int</span><span class="Other">)</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">T:type</span> {.
|
||||||
|
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
<a
|
||||||
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L99"
|
||||||
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L99" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
|
@ -425,9 +491,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L33"
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L31"
|
||||||
class="link-seesrc" target="_blank">Source</a>
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L33" class="link-seesrc" target="_blank" >Edit</a>
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L31" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
|
@ -439,9 +505,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L36"
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L34"
|
||||||
class="link-seesrc" target="_blank">Source</a>
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L36" class="link-seesrc" target="_blank" >Edit</a>
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L34" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
|
@ -452,9 +518,38 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L42"
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L40"
|
||||||
class="link-seesrc" target="_blank">Source</a>
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L42" class="link-seesrc" target="_blank" >Edit</a>
|
<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>
|
||||||
|
|
||||||
|
</dl></div>
|
||||||
|
<div class="section" id="18">
|
||||||
|
<h1><a class="toc-backref" href="#18">Templates</a></h1>
|
||||||
|
<dl class="item">
|
||||||
|
<div id="handler.t,LPProtocol" class="tohide">
|
||||||
|
<dt><pre><span class="Keyword">template</span> <a href="#handler.t%2CLPProtocol"><span class="Identifier">handler</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">)</span><span class="Other">:</span> <a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a></pre></dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
<a
|
||||||
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L61"
|
||||||
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L61" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</div>
|
||||||
|
<div id="handler.t,LPProtocol,Connection,string" class="tohide">
|
||||||
|
<dt><pre><span class="Keyword">template</span> <a href="#handler.t%2CLPProtocol%2CConnection%2Cstring"><span class="Identifier">handler</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span> <span class="Identifier">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></pre></dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
<a
|
||||||
|
href="https://github.com/status-im/nim-libp2p/tree/unstable/libp2p/protocols/protocol.nim#L64"
|
||||||
|
class="link-seesrc" target="_blank">Source</a>
|
||||||
|
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L64" class="link-seesrc" target="_blank" >Edit</a>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
|
@ -468,7 +563,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -255,7 +255,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:37 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -393,7 +393,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<h1><a class="toc-backref" href="#14">Methods</a></h1>
|
<h1><a class="toc-backref" href="#14">Methods</a></h1>
|
||||||
<dl class="item">
|
<dl class="item">
|
||||||
<div id="init.e,FloodSub" class="tohide">
|
<div id="init.e,FloodSub" class="tohide">
|
||||||
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CFloodSub"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CFloodSub"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
@ -406,7 +406,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="initPubSub.e,FloodSub" class="tohide">
|
<div id="initPubSub.e,FloodSub" class="tohide">
|
||||||
<dt><pre><span class="Keyword">method</span> <a href="#initPubSub.e%2CFloodSub"><span class="Identifier">initPubSub</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><a href="pubsub.html#InitializationError"><span class="Identifier">InitializationError</span></a><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
<dt><pre><span class="Keyword">method</span> <a href="#initPubSub.e%2CFloodSub"><span class="Identifier">initPubSub</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><a href="pubsub.html#InitializationError"><span class="Identifier">InitializationError</span></a><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||||
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
<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>
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:38 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -496,7 +496,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:38 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -446,7 +446,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:38 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -782,7 +782,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:38 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -403,7 +403,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:38 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -370,7 +370,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:38 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1166,7 +1166,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="section" id="19">
|
<div class="section" id="19">
|
||||||
<h1><a class="toc-backref" href="#19">Exports</a></h1>
|
<h1><a class="toc-backref" href="#19">Exports</a></h1>
|
||||||
<dl class="item">
|
<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#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>, <a href="errors.html#ValidationResult"><span class="Identifier">ValidationResult</span></a>
|
<a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a>, <a href="pubsubpeer.html#PubSubObserver"><span class="Identifier">PubSubObserver</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],proc(Connection,string)"><span class="Identifier">new</span></a>, <a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#handler.t,LPProtocol,Connection,string"><span class="Identifier">handler</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#handler=,LPProtocol,proc(Connection,string)"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#handler.t,LPProtocol"><span class="Identifier">handler</span></a>, <a href="../protocol.html#handler=,LPProtocol,LPProtoHandler"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>, <a href="errors.html#ValidationResult"><span class="Identifier">ValidationResult</span></a>
|
||||||
</dl></div>
|
</dl></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -1176,7 +1176,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:38 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -816,7 +816,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:38 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -342,7 +342,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:37 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -645,7 +645,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:37 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -596,7 +596,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:37 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -422,7 +422,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:38 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -532,7 +532,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
<div id="init.e,Noise" class="tohide">
|
<div id="init.e,Noise" class="tohide">
|
||||||
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CNoise"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="noise.html#Noise"><span class="Identifier">Noise</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CNoise"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="noise.html#Noise"><span class="Identifier">Noise</span></a><span class="Other">)</span> {.<span><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>
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
@ -570,7 +570,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -458,7 +458,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
<div id="init.e,Secure" class="tohide">
|
<div id="init.e,Secure" class="tohide">
|
||||||
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CSecure"><span class="Identifier">init</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><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CSecure"><span class="Identifier">init</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><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>
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
@ -548,7 +548,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="section" id="19">
|
<div class="section" id="19">
|
||||||
<h1><a class="toc-backref" href="#19">Exports</a></h1>
|
<h1><a class="toc-backref" href="#19">Exports</a></h1>
|
||||||
<dl class="item">
|
<dl class="item">
|
||||||
<a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>
|
<a href="../protocol.html#new,typeLPProtocol,seq[string],proc(Connection,string)"><span class="Identifier">new</span></a>, <a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#handler.t,LPProtocol,Connection,string"><span class="Identifier">handler</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#handler=,LPProtocol,proc(Connection,string)"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#handler.t,LPProtocol"><span class="Identifier">handler</span></a>, <a href="../protocol.html#handler=,LPProtocol,LPProtoHandler"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>
|
||||||
</dl></div>
|
</dl></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -558,7 +558,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -422,7 +422,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:34 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:34 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -524,7 +524,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -504,7 +504,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -502,7 +502,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1009,7 +1009,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -442,7 +442,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -266,7 +266,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:34 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -476,7 +476,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -491,7 +491,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -583,7 +583,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:37 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -334,7 +334,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:08 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -444,7 +444,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:31 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:02 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -271,7 +271,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -245,7 +245,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -512,7 +512,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:36 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -362,7 +362,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:06 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -725,7 +725,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:31 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:02 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:33 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:04 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -604,7 +604,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:35 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:07 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -257,12 +257,14 @@ window.addEventListener('DOMContentLoaded', main);
|
||||||
matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cseq%5Bstring%5D%2CLPProtocol%2CMatcher">multistream: addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol;
|
matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cseq%5Bstring%5D%2CLPProtocol%2CMatcher">multistream: addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol;
|
||||||
matcher: Matcher = nil)</a></li>
|
matcher: Matcher = nil)</a></li>
|
||||||
<li><a class="reference external"
|
<li><a class="reference external"
|
||||||
data-doc-search-tag="multistream: addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
|
data-doc-search-tag="multistream: addHandler[E](m: MultistreamSelect; codec: string; handler: LPProtoHandler |
|
||||||
matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher">multistream: addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
|
proc (conn: Connection; proto: string): InternalRaisesFuture[void, E];
|
||||||
|
matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cstring%2C%2CMatcher">multistream: addHandler[E](m: MultistreamSelect; codec: string; handler: LPProtoHandler |
|
||||||
|
proc (conn: Connection; proto: string): InternalRaisesFuture[void, E];
|
||||||
matcher: Matcher = nil)</a></li>
|
matcher: Matcher = nil)</a></li>
|
||||||
<li><a class="reference external"
|
<li><a class="reference external"
|
||||||
data-doc-search-tag="multistream: addHandler(m: MultistreamSelect; codec: string; handler: LPProtoHandler;
|
data-doc-search-tag="multistream: addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
|
||||||
matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cstring%2CLPProtoHandler%2CMatcher">multistream: addHandler(m: MultistreamSelect; codec: string; handler: LPProtoHandler;
|
matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher">multistream: addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
|
||||||
matcher: Matcher = nil)</a></li>
|
matcher: Matcher = nil)</a></li>
|
||||||
</ul></dd>
|
</ul></dd>
|
||||||
<dt><a name="addObservation" href="#addObservation"><span>addObservation:</span></a></dt><dd><ul class="simple">
|
<dt><a name="addObservation" href="#addObservation"><span>addObservation:</span></a></dt><dd><ul class="simple">
|
||||||
|
@ -1967,6 +1969,20 @@ window.addEventListener('DOMContentLoaded', main);
|
||||||
<li><a class="reference external"
|
<li><a class="reference external"
|
||||||
data-doc-search-tag="behavior: handlePrune(g: GossipSub; peer: PubSubPeer; prunes: seq[ControlPrune])" href="libp2p/protocols/pubsub/gossipsub/behavior.html#handlePrune%2CGossipSub%2CPubSubPeer%2Cseq%5BControlPrune%5D">behavior: handlePrune(g: GossipSub; peer: PubSubPeer; prunes: seq[ControlPrune])</a></li>
|
data-doc-search-tag="behavior: handlePrune(g: GossipSub; peer: PubSubPeer; prunes: seq[ControlPrune])" href="libp2p/protocols/pubsub/gossipsub/behavior.html#handlePrune%2CGossipSub%2CPubSubPeer%2Cseq%5BControlPrune%5D">behavior: handlePrune(g: GossipSub; peer: PubSubPeer; prunes: seq[ControlPrune])</a></li>
|
||||||
</ul></dd>
|
</ul></dd>
|
||||||
|
<dt><a name="handler" href="#handler"><span>handler:</span></a></dt><dd><ul class="simple">
|
||||||
|
<li><a class="reference external"
|
||||||
|
data-doc-search-tag="protocol: handler(p: LPProtocol): LPProtoHandler" href="libp2p/protocols/protocol.html#handler.t%2CLPProtocol">protocol: handler(p: LPProtocol): LPProtoHandler</a></li>
|
||||||
|
<li><a class="reference external"
|
||||||
|
data-doc-search-tag="protocol: handler(p: LPProtocol; conn: Connection; proto: string): Future[void]" href="libp2p/protocols/protocol.html#handler.t%2CLPProtocol%2CConnection%2Cstring">protocol: handler(p: LPProtocol; conn: Connection; proto: string): Future[void]</a></li>
|
||||||
|
</ul></dd>
|
||||||
|
<dt><a name="handler%3D" href="#handler%3D"><span>handler=:</span></a></dt><dd><ul class="simple">
|
||||||
|
<li><a class="reference external"
|
||||||
|
data-doc-search-tag="protocol: handler=(p: LPProtocol; handler: LPProtoHandler)" href="libp2p/protocols/protocol.html#handler%3D%2CLPProtocol%2CLPProtoHandler">protocol: handler=(p: LPProtocol; handler: LPProtoHandler)</a></li>
|
||||||
|
<li><a class="reference external"
|
||||||
|
data-doc-search-tag="protocol: handler=[E](p: LPProtocol; handler: proc (conn: Connection; proto: string): InternalRaisesFuture[
|
||||||
|
void, E])" href="libp2p/protocols/protocol.html#handler%3D%2CLPProtocol%2Cproc%28Connection%2Cstring%29">protocol: handler=[E](p: LPProtocol; handler: proc (conn: Connection; proto: string): InternalRaisesFuture[
|
||||||
|
void, E])</a></li>
|
||||||
|
</ul></dd>
|
||||||
<dt><a name="HandlerHolder" href="#HandlerHolder"><span>HandlerHolder:</span></a></dt><dd><ul class="simple">
|
<dt><a name="HandlerHolder" href="#HandlerHolder"><span>HandlerHolder:</span></a></dt><dd><ul class="simple">
|
||||||
<li><a class="reference external"
|
<li><a class="reference external"
|
||||||
data-doc-search-tag="multistream: HandlerHolder" href="libp2p/multistream.html#HandlerHolder">multistream: HandlerHolder</a></li>
|
data-doc-search-tag="multistream: HandlerHolder" href="libp2p/multistream.html#HandlerHolder">multistream: HandlerHolder</a></li>
|
||||||
|
@ -3179,6 +3195,12 @@ window.addEventListener('DOMContentLoaded', main);
|
||||||
<li><a class="reference external"
|
<li><a class="reference external"
|
||||||
data-doc-search-tag="protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
|
data-doc-search-tag="protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
|
||||||
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type" href="libp2p/protocols/protocol.html#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2CLPProtoHandler">protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
|
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type" href="libp2p/protocols/protocol.html#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2CLPProtoHandler">protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
|
||||||
|
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
|
||||||
|
<li><a class="reference external"
|
||||||
|
data-doc-search-tag="protocol: new[E](T: type LPProtocol; codecs: seq[string]; handler: proc (conn: Connection;
|
||||||
|
proto: string): InternalRaisesFuture[void, E];
|
||||||
|
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type" href="libp2p/protocols/protocol.html#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2Cproc%28Connection%2Cstring%29">protocol: new[E](T: type LPProtocol; codecs: seq[string]; handler: proc (conn: Connection;
|
||||||
|
proto: string): InternalRaisesFuture[void, E];
|
||||||
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
|
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
|
||||||
<li><a class="reference external"
|
<li><a class="reference external"
|
||||||
data-doc-search-tag="pubsubpeer: new(T: typedesc[PubSubPeer]; peerId: PeerId; getConn: GetConn; onEvent: OnEvent;
|
data-doc-search-tag="pubsubpeer: new(T: typedesc[PubSubPeer]; peerId: PeerId; getConn: GetConn; onEvent: OnEvent;
|
||||||
|
@ -5388,7 +5410,7 @@ window.addEventListener('DOMContentLoaded', main);
|
||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-27 10:55:38 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-28 08:44:09 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue