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.
- enabled - activates relay dialing and listening functionality
136
+
- hop - an object with two properties
137
+
- enabled - enables circuit relaying
138
+
- active - is it an active or passive relay (default false)
139
+
130
140
### `swarm.dial(peer, protocol, callback)`
131
141
132
142
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.
0 commit comments