Expand description
Descriptions objects for different kinds of directory requests that we can make.
ModulesΒ§
- sealed π
- Declare an inaccessible public type.
StructsΒ§
- Auth
Cert Request - A request for one or more authority certificates.
- Consensus
Request - A Request for a consensus directory.
- Display
Requestable - A wrapper to implement
Requestable::debug_request
. - HsDesc
Download Request hs-client
- A request to download a hidden service descriptor
- HsDesc
Upload Request hs-service
- A request to upload a hidden service descriptor
- Microdesc
Request - A request for one or more microdescriptors
- Router
Desc Request routerdesc
- A request for one, many or all router descriptors.
- Routers
OwnDesc Request routerdesc
- A request for the descriptor of whatever relay we are making the request to
- Skew
Limit π - How much clock skew do we allow in the distance between the directory cacheβs clock and our own?
EnumsΒ§
- Requested
Descs πrouterdesc
- Tracks the different router descriptor types.
ConstantsΒ§
- UNIVERSAL_
ENCODINGS π - Encodings that all Tor clients support.
TraitsΒ§
- Requestable
- A request for an object that can be served over the Tor directory system.
FunctionsΒ§
- add_
common_ πheaders - Add commonly used headers to the HTTP request.
- all_
encodings π - List all the encodings we accept
- digest_
list_ πstringify - Convert a list of digests in some format to a string, for use in a request
Type AliasesΒ§
- Result π
- Alias for a result with a
RequestError
.