You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2019. It is now read-only.
dial uses the best transport (whatever works first, in the future we can have some criteria), and jump starts the connection until the point where we have to negotiate the protocol. If a muxer is available, then drop the muxer onto that connection. Good to warm up connections or to check for connectivity. If we have already a muxer for that peerInfo, then do nothing.
135
135
136
-
-`pi` - peer info project
136
+
-`peer`: can be an instance of [PeerInfo][], [PeerId][] or [multiaddr][]
137
137
-`protocol`
138
138
-`callback`
139
139
140
-
### `swarm.hangUp(pi, callback)`
140
+
### `swarm.hangUp(peer, callback)`
141
141
142
142
Hang up the muxed connection we have with the peer.
143
143
144
-
-`pi` - peer info project
144
+
-`peer`: can be an instance of [PeerInfo][], [PeerId][] or [multiaddr][]
0 commit comments