Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbittorrent-swarm methods #695
Closed
Comments
This comment has been minimized.
This comment has been minimized.
|
Yes, there are methods on the The |
This comment has been minimized.
This comment has been minimized.
|
Some methods like You can manually choke a peer with |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
swarm.on('wire', function(wire) {
// a relevant wire has appeared, see
bittorrent-protocolfor more infowire.on('unchoke', function() {
// we are now unchoked
})
swarm.wires // <- list of all connected wires
});
Do swarm and wire instances offer other methods?
Are there other undocumented functions in the WebTorrent API?
Can I manually choke a peer?
Which of these functions can only be used in node.js and which ones can be used in the browser?