userver: server::request::HttpRequestConfig Struct Reference
Loading...
Searching...
No Matches
server::request::HttpRequestConfig Struct Reference

Detailed Description

Definition at line 12 of file request_config.hpp.

Public Attributes

std::size_t max_url_size = 8192
 
std::size_t max_request_size = 1024 * 1024
 
std::size_t max_headers_size = 65536
 
bool parse_args_from_body = false
 
bool testing_mode = false
 
bool decompress_request = false
 
bool set_tracing_headers = true
 
bool deadline_propagation_enabled = true
 
http::HttpStatus deadline_expired_status_code {498}
 

Member Data Documentation

◆ deadline_expired_status_code

http::HttpStatus server::request::HttpRequestConfig::deadline_expired_status_code {498}

Definition at line 21 of file request_config.hpp.

◆ deadline_propagation_enabled

bool server::request::HttpRequestConfig::deadline_propagation_enabled = true

Definition at line 20 of file request_config.hpp.

◆ decompress_request

bool server::request::HttpRequestConfig::decompress_request = false

Definition at line 18 of file request_config.hpp.

◆ max_headers_size

std::size_t server::request::HttpRequestConfig::max_headers_size = 65536

Definition at line 15 of file request_config.hpp.

◆ max_request_size

std::size_t server::request::HttpRequestConfig::max_request_size = 1024 * 1024

Definition at line 14 of file request_config.hpp.

◆ max_url_size

std::size_t server::request::HttpRequestConfig::max_url_size = 8192

Definition at line 13 of file request_config.hpp.

◆ parse_args_from_body

bool server::request::HttpRequestConfig::parse_args_from_body = false

Definition at line 16 of file request_config.hpp.

◆ set_tracing_headers

bool server::request::HttpRequestConfig::set_tracing_headers = true

Definition at line 19 of file request_config.hpp.

◆ testing_mode

bool server::request::HttpRequestConfig::testing_mode = false

Definition at line 17 of file request_config.hpp.


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