Create a new instance.
Event for when a new peer is connected via this transport.
Subscribable
that can be used to register listeners
Get if transport is started.
true
if transport is started
Add a peer to this transport. This will start monitoring this peer for connection events and make it available/unavailable as it connects/disconnects.
Start this transport.
boolean indicating if the transport was started
Stop this transport.
boolean indicating if the transport was stopped.
Generated using TypeDoc
Hyperswarm based transport. This transport will connect to Hyperswarm and attempt to find peers that are published under a specific topic. When peers are found they will be connected to, a secure channel established and authentication will occur.