Settings
Help

Module request

Module request 

Source
Expand description

Descriptions objects for different kinds of directory requests that we can make.

ModulesΒ§

sealed πŸ”’
Declare an inaccessible public type.

StructsΒ§

AuthCertRequest
A request for one or more authority certificates.
ConsensusRequest
A Request for a consensus directory.
DisplayRequestable
A wrapper to implement Requestable::debug_request.
HsDescDownloadRequesths-client
A request to download a hidden service descriptor
HsDescUploadRequesths-service
A request to upload a hidden service descriptor
MicrodescRequest
A request for one or more microdescriptors
RouterDescRequestrouterdesc
A request for one, many or all router descriptors.
RoutersOwnDescRequestrouterdesc
A request for the descriptor of whatever relay we are making the request to
SkewLimit πŸ”’
How much clock skew do we allow in the distance between the directory cache’s clock and our own?

EnumsΒ§

RequestedDescs πŸ”’ 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.