userver: userver/clients/http/request_tracing_editor.hpp Source File
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
8USERVER_NAMESPACE_BEGIN
9
10namespace curl {
11class easy;
12} // namespace curl
13
14namespace clients::http {
15
16class RequestState;
17
18/// @brief Auxiliary entity that allows editing request to a client
19/// from plugins
20class RequestTracingEditor final {
21 public:
22 /// sets header
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
35USERVER_NAMESPACE_END