diff --git a/index.html b/index.html index e8bc0d86..f69c1373 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@
-0.27.3
0.27.4
You can then require()
libp2p as normal:
const libp2P = require('libp2p')
Libp2p should work in any ES2015 environment out of the box.
+libp2p
should work in any ECMAScript 2018 environment out of the box.
Usage:
<script type="text/javascript" src="index.js"></script>
-The portable versions of libp2p, including index.js
and index.min.js
, are included in the /dist
folder. Libp2p can also be found on unpkg.com under
The portable versions of libp2p
, including index.js
and index.min.js
, are included in the /dist
folder. libp2p
can also be found on unpkg.com under
Like new Libp2p(options)
except it will create a PeerInfo
+instance if one is not provided in options.
(object
+ = {}
)
+ Libp2p configuration options
+
+ Libp2p
:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+peerStore
Connection
will be sent in the callback
Connection
will be sent in the callback
Connection
will be sent in the callback
Connection
will be sent in the callback
- Type: - Circuit -
- - - - - - - - - - - - - - - - - - - - - -Like new Libp2p(options)
except it will create a PeerInfo
-instance if one is not provided in options.
(object
- = {}
)
- Libp2p configuration options
-
- Libp2p
:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-The protocols the IdentifyService supports
- -PeerStore
.
-
+
src/get-peer-info.js
@@ -3520,7 +3413,7 @@ the libp2p
PeerRouter will be used to attempt to find the peer.
-
+
src/connection-manager/index.js
@@ -3689,7 +3582,7 @@ the libp2p
PeerRouter will be used to attempt to find the peer.
-
+
src/connection-manager/index.js
@@ -3742,7 +3635,7 @@ only event loop and connection limits will be monitored.
-
+
src/connection-manager/index.js
@@ -3794,7 +3687,7 @@ only event loop and connection limits will be monitored.
-
+
src/connection-manager/index.js
@@ -3869,7 +3762,7 @@ will be disconnected first.
-
+
src/connection-manager/index.js
@@ -3934,7 +3827,7 @@ will be disconnected first.
-
+
src/connection-manager/index.js
@@ -3999,7 +3892,7 @@ will be disconnected first.
-
+
src/circuit/index.js
@@ -4096,7 +3989,7 @@ will be disconnected first.
-
+
src/circuit/index.js
@@ -4204,7 +4097,7 @@ will be disconnected first.
-
+
src/circuit/index.js
@@ -4285,7 +4178,7 @@ will be disconnected first.
-
+
src/circuit/index.js
@@ -4343,6 +4236,124 @@ will be disconnected first.
+
+
+
+
+
+ + Type: + Circuit +
+ + + + + + + + + + + + + + + + + + + + + +The protocols the IdentifyService supports
+ +stop
is called, start
must be called to resume st
-
+
src/metrics/index.js
@@ -6346,7 +6357,7 @@ Once stop
is called, start
must be called to resume st
-
+
src/metrics/index.js
@@ -6406,7 +6417,7 @@ Once stop
is called, start
must be called to resume st
-
+
src/metrics/index.js
@@ -6480,7 +6491,7 @@ is a live peer, or in the disconnected peer LRU cache.
-
+
src/metrics/index.js
@@ -6540,7 +6551,7 @@ is a live peer, or in the disconnected peer LRU cache.
-
+
src/metrics/index.js
@@ -6613,7 +6624,7 @@ is a live peer, or in the disconnected peer LRU cache.
-
+
src/metrics/index.js
@@ -6680,7 +6691,7 @@ be stopped and moved to an LRU for temporary retention.
-
+
src/metrics/index.js
@@ -6756,7 +6767,7 @@ placeholder stats will be merged with the existing stats.
-
+
src/metrics/index.js
@@ -6884,7 +6895,7 @@ with the placeholder string returned from here, and the known PeerId
-
+
src/metrics/index.js
@@ -6966,7 +6977,7 @@ and returned.
-
+
src/metrics/old-peers.js
@@ -7039,7 +7050,7 @@ and returned.
-
+
src/metrics/stats.js
@@ -7117,7 +7128,7 @@ and returned.
Stats.stop
was previously called,
PeerId
of the peer.
-
+
src/registrar.js
@@ -9757,7 +9768,7 @@ will include the encapsulated PeerId
of the peer.
multiaddrs
-
+
src/identify/index.js
@@ -11250,7 +11261,7 @@ with the provided protocols
-
+
src/identify/index.js