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
7014a46 docs: [#271] crate docs for servers::udp mod (Jose Celano)
Pull request description:
Documentation for the `crate::servers::udp` module. The UDP tracker.
ACKs for top commit:
josecelano:
ACK 7014a46
Tree-SHA512: 6c39d30c4163e3fc64a102aefb2e51715ceb7fe967124cea39ee6b678244c0bbe944a94901f59fed8e90bc03b44bdfae38cf3a29b9cbe4dd339ac295844078d4
Copy file name to clipboardExpand all lines: src/servers/http/mod.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@
43
43
//!
44
44
//! Parameter | Type | Description | Required | Default | Example
45
45
//! ---|---|---|---|---|---
46
-
//! [`info_hash`](crate::servers::http::v1::requests::announce::Announce::info_hash) | percent encoded of 40-byte array | The `Info Hash` of the torrent. | Yes | No | `%81%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00`
46
+
//! [`info_hash`](crate::servers::http::v1::requests::announce::Announce::info_hash) | percent encoded of 20-byte array | The `Info Hash` of the torrent. | Yes | No | `%81%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00`
47
47
//! `peer_addr` | string |The IP address of the peer. | No | No | `2.137.87.41`
48
48
//! [`downloaded`](crate::servers::http::v1::requests::announce::Announce::downloaded) | positive integer |The number of bytes downloaded by the peer. | No | `0` | `0`
49
49
//! [`uploaded`](crate::servers::http::v1::requests::announce::Announce::uploaded) | positive integer | The number of bytes uploaded by the peer. | No | `0` | `0`
@@ -220,7 +220,7 @@
220
220
//!
221
221
//! Parameter | Type | Description | Required | Default | Example
222
222
//! ---|---|---|---|---|---
223
-
//! [`info_hash`](crate::servers::http::v1::requests::scrape::Scrape::info_hashes) | percent encoded of 40-byte array | The `Info Hash` of the torrent. | Yes | No | `%81%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00`
223
+
//! [`info_hash`](crate::servers::http::v1::requests::scrape::Scrape::info_hashes) | percent encoded of 20-byte array | The `Info Hash` of the torrent. | Yes | No | `%81%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00`
224
224
//!
225
225
//! > **NOTICE**: you can scrape multiple torrents at the same time by passing
0 commit comments