Tor  0.4.7.0-alpha-dev
Data Fields
get_handler_args_t Struct Reference

Data Fields

unsigned compression_supported
 
time_t if_modified_since
 
const char * url
 
const char * headers
 

Detailed Description

Information passed to handle a GET request.

Definition at line 317 of file dircache.c.

Field Documentation

◆ compression_supported

unsigned compression_supported

Bitmask of compression methods that the client said (or implied) it supported.

Definition at line 320 of file dircache.c.

Referenced by handle_get_current_consensus(), handle_get_descriptor(), handle_get_keys(), and handle_get_microdesc().

◆ headers

const char* headers

String containing the HTTP headers

Definition at line 327 of file dircache.c.

Referenced by handle_get_networkstatus_bridges().

◆ if_modified_since

time_t if_modified_since

If nonzero, the time included an if-modified-since header with this value.

Definition at line 323 of file dircache.c.

Referenced by handle_get_current_consensus(), and handle_get_keys().

◆ url

const char* url

String containing the requested URL or resource.

Definition at line 325 of file dircache.c.

Referenced by handle_get_descriptor(), handle_get_hs_descriptor_v3(), handle_get_keys(), handle_get_microdesc(), handle_get_status_vote(), and parse_consensus_request().


The documentation for this struct was generated from the following file: