userver
C++ Async Framework
Loading...
Searching...
No Matches
request_tracing_editor.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/clients/http/request_tracing_editor.hpp
4
/// @brief @copybrief clients::http::RequestTracingEditor
5
6
#
include
<
string_view
>
7
8
USERVER_NAMESPACE_BEGIN
9
10
namespace
curl {
11
class
easy;
12
}
// namespace curl
13
14
namespace
clients::
http
{
15
16
class
RequestState;
17
18
/// @brief Auxiliary entity that allows editing request to a client
19
/// from plugins
20
class
RequestTracingEditor
final
{
21
public
:
22
/// sets header
23
void
SetHeader
(
std
::
string_view
,
std
::
string_view
);
24
25
private
:
26
friend
class
RequestState;
27
28
explicit
RequestTracingEditor(curl::easy&);
29
30
curl::easy& easy_;
31
};
32
33
}
// namespace clients::http
34
35
USERVER_NAMESPACE_END
userver
clients
http
request_tracing_editor.hpp
Generated on Wed May 15 2024 22:15:06 for userver by
Doxygen
1.10.0