Methods
dial
- dial(peer, protocols?): Promise<Stream>
-
Parameters
-
peer: PeerId | Multiaddr
-
Optional
protocols: Protocols[]
Returns Promise<Stream>
isConnected
- isConnected(): boolean
-
Returns boolean
isStarted
- isStarted(): boolean
-
Returns boolean
start
- start(): Promise<void>
-
Returns Promise<void>
stop
- stop(): Promise<void>
-
Returns Promise<void>