Expand description
Tracker protocol codecs.
- HTTP tracker (BEP-3): announce/scrape URL construction and bencoded response parsing (compact + dict peer lists).
- UDP tracker (BEP-15): connect/announce/scrape request builders and response parsers.
The actual HTTP transport is delegated to the host (crate::platform::Host::http_get,
implemented with courierust on the std host); UDP transport goes
through crate::platform::Host::udp_send/udp_recv.
Modules§
- udp
- UDP tracker protocol (BEP-15).
Structs§
- Announce
Params - Announce parameters.
- Tracker
Response - Parsed tracker response.
Enums§
- Event
- Announce event (BEP-3 / BEP-15).
Functions§
- build_
http_ announce_ url - Build an HTTP announce URL.
- build_
http_ scrape_ url - Build an HTTP scrape URL (one or more hashes).
- parse_
tracker_ list - Parse a plain-text tracker list (one URL per line,
#comments allowed) — the format served by https://cf.trackerslist.com/best.txt. - parse_
tracker_ response - Parse a bencoded tracker response.
- validate_
http_ tracker - Validate an HTTP tracker endpoint with
courierust’s URI parser (scheme must be http/https).