8#include <userver/server/handlers/auth/handler_auth_config.hpp>
9#include <userver/server/handlers/fallback_handlers.hpp>
10#include <userver/server/http/http_status.hpp>
11#include <userver/server/request/request_config.hpp>
13USERVER_NAMESPACE_BEGIN
19namespace server::handlers {
30 std::variant<std::string, FallbackHandler> path;
31 std::string task_processor;
34 size_t request_body_size_log_limit{0};
35 size_t response_data_size_log_limit{0};
36 std::optional<
auth::HandlerAuthConfig> auth;
38 std::optional<size_t> max_requests_in_flight;
39 std::optional<size_t> max_requests_per_second;
40 bool decompress_request{
true};
41 bool throttling_enabled{
true};
42 bool response_body_stream{
false};
43 std::optional<
bool> set_response_server_hostname;
44 bool set_tracing_headers{
true};
45 bool deadline_propagation_enabled{
true};
46 http::
HttpStatus deadline_expired_status_code{498};
51 const server::ServerConfig& server_config,
bool is_monitor =
false);