tracker_client v0.1.0 TrackerClient.HTTP
Makes announcements to trackers following the HTTP tracking protocol.
Summary
Functions
See TrackerClient
Params
info_hash
- urlencoded 20-byte SHA1 hash of the value of the info key from the Metainfo file.peer_id
- urlencoded 20-byte string used as a unique ID for the client, generated by the client at startup.port
- the port number that the client is listening on.uploaded
- total amount of bytes uploaded.downloaded
- total amount of bytes downloaded.left
- how many bytes are left.compact
- setting this to 1 indicates that the client accepts a compact response.no_peer_id
- indicates that the tracker can omit peer id field in peers dictionary.event
-:started
,:stopped
,:completed
, or not included.ip
- true ip of the client.numwant
- how many peers the client wants.key
- additional identification for the client.trackerid
- if a previous announce contained a tracker id, include it here.