14 #include <restinio/compiler_features.hpp> 86 m_max_url_size = value;
93 return std::move(max_url_size(value));
103 m_max_field_name_size = value;
110 return std::move(max_field_name_size(value));
120 m_max_field_value_size = value;
127 return std::move(max_field_value_size(value));
137 m_max_field_count = value;
144 return std::move(max_field_count(value));
154 m_max_body_size = value;
161 return std::move(max_body_size(value));
std::size_t max_field_count() const noexcept
incoming_http_msg_limits_t && max_field_value_size(std::size_t value) &&noexcept
incoming_http_msg_limits_t & max_url_size(std::size_t value) &noexcept
std::size_t m_max_url_size
std::size_t m_max_field_name_size
std::enable_if< std::is_same< Parameter_Container, query_string_params_t >::value||std::is_same< Parameter_Container, router::route_params_t >::value, std::optional< Value_Type > >::type opt_value(const Parameter_Container ¶ms, string_view_t key)
Gets the value of a parameter specified by key wrapped in std::optional<Value_Type> if parameter exis...
std::size_t max_field_name_size() const noexcept
incoming_http_msg_limits_t & max_field_value_size(std::size_t value) &noexcept
std::size_t m_max_field_count
incoming_http_msg_limits_t() noexcept=default
incoming_http_msg_limits_t & max_field_name_size(std::size_t value) &noexcept
incoming_http_msg_limits_t && max_field_count(std::size_t value) &&noexcept
std::size_t max_url_size() const noexcept
A type of holder of limits related to an incoming HTTP message.
incoming_http_msg_limits_t && max_body_size(std::uint64_t value) &&noexcept
incoming_http_msg_limits_t && max_field_name_size(std::size_t value) &&noexcept
std::uint64_t m_max_body_size
incoming_http_msg_limits_t & max_body_size(std::uint64_t value) &noexcept
std::uint64_t max_body_size() const noexcept
incoming_http_msg_limits_t & max_field_count(std::size_t value) &noexcept
std::size_t m_max_field_value_size
std::size_t max_field_value_size() const noexcept
incoming_http_msg_limits_t && max_url_size(std::size_t value) &&noexcept