diff --git a/classes/_waku_core.ConnectionManager.html b/classes/_waku_core.ConnectionManager.html index 10b311b43e..31d82ab5e2 100644 --- a/classes/_waku_core.ConnectionManager.html +++ b/classes/_waku_core.ConnectionManager.html @@ -1,4 +1,4 @@ -
Connects to a peer using specific protocol codecs. This is a direct proxy to libp2p's dialProtocol method.
The peer to connect to (PeerId or multiaddr)
Array of protocol codec strings to establish
@@ -17,30 +17,30 @@ This is a direct proxy to libp2p's dialProtocol method.Retrieves a list of currently connected peers, optionally filtered by protocol codec. +
Retrieves a list of currently connected peers, optionally filtered by protocol codec. Results are sorted by ping time (lowest first).
Optionalcodec: stringOptional protocol codec to filter peers by
Promise resolving to an array of connected Peer objects
Terminates the connection to a specific peer.
+Terminates the connection to a specific peer.
The peer to disconnect from (PeerId or multiaddr)
Promise resolving to true if disconnection was successful, false otherwise
Checks if a peer has shard info.
+Checks if a peer has shard info.
The peer to check
Promise resolving to true if the peer has shard info, false otherwise
-Returns true if the passed peer is on the passed shard
-Returns true if the passed peer is on the passed pubsub topic
-Starts network monitoring, dialing discovered peers, keep-alive management, and connection limiting.
+Returns true if the passed peer is on the passed shard
+Returns true if the passed peer is on the passed pubsub topic
+Stops network monitoring, discovery dialing, keep-alive management, and connection limiting.
+OptionalmetaSetter: IMetaSetterOptionalmetaOptionalmetaSetter: IMetaSetterOptionalmetaImplements the Waku v2 Light Push protocol.
-ReadonlymulticodecReadonlymulticodec
Connects to a peer using specific protocol codecs. +