Constructor
new Peer(configopt)
Create an instance of Peer.
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
<optional> |
Initialization Vector for this peer.
Properties
|
- Source:
Members
address
- Deprecated:
-
- Yes
- Source:
Methods
(async) listen() → {Peer}
Start listening for connections.
- Source:
Returns:
Chainable method.
- Type
- Peer
(async) start()
Start the Peer.
- Source:
(async) stop()
Stop the peer.
- Source: