Expand description
HTTP and UDP BitTorrent tracker clients (BEP 3, BEP 15, BEP 48).
Supports HTTP and UDP tracker protocols for announce and scrape.
Re-exports§
pub use compact::encode_compact_peers;pub use compact::encode_compact_peers6;pub use compact::parse_compact_peers;pub use compact::parse_compact_peers6;
Modules§
- compact
- Compact peer list encoding/decoding (BEP 23, BEP 7).
Structs§
- Announce
Request - Common announce request parameters.
- Announce
Response - Common announce response data.
- Http
Announce Response - Raw HTTP announce response (bencode).
- Http
Scrape Response - HTTP scrape response containing per-torrent stats.
- Http
Tracker - HTTP tracker client (BEP 3).
- Scrape
Info - Scrape response data for a single info_hash (BEP 48).
- UdpAnnounce
Response - UDP announce response.
- UdpScrape
Response - UDP scrape response.
- UdpTracker
- UDP tracker client (BEP 15).
Enums§
- Announce
Event - Announce event type sent to trackers.
- Error
- Errors that can occur during tracker communication.
- UdpTracker
Option - BEP 41: UDP tracker protocol extension option.
Functions§
- announce_
url_ to_ scrape - Convert an announce URL to a scrape URL (BEP 48).
Type Aliases§
- Result
- Convenience result type for tracker operations.