userver
C++ Async Framework
Loading...
Searching...
No Matches
cancellation_policy.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/clients/http/cancellation_policy.hpp
4
/// @brief HTTP client request cancellation policy
5
6
#
include
<
userver
/
yaml_config
/
fwd
.
hpp
>
7
8
USERVER_NAMESPACE_BEGIN
9
10
namespace
clients::http {
11
12
/// @brief Policy for cancelling in-flight HTTP requests
13
enum
class
CancellationPolicy
{
14
kIgnore,
15
kCancel,
16
};
17
18
CancellationPolicy
Parse(yaml_config::
YamlConfig
value, formats::
parse
::To<
CancellationPolicy
>);
19
20
}
// namespace clients::http
21
22
USERVER_NAMESPACE_END
userver
clients
http
cancellation_policy.hpp
Generated on Thu May 21 2026 16:16:03 for userver by
Doxygen
1.13.2