userver
C++ Async Framework
Loading...
Searching...
No Matches
component.hpp
1
#
pragma
once
2
3
#
include
<
memory
>
4
5
#
include
<
userver
/
clients
/
http
/
plugin_component
.
hpp
>
6
7
USERVER_NAMESPACE_BEGIN
8
9
namespace
clients::
http
::plugins::yandex_tracing {
10
11
class
Plugin;
12
13
class
Component
final
:
public
plugin::
ComponentBase
{
14
public
:
15
/// @ingroup userver_component_names
16
/// @brief The default name of
17
/// clients::http::plugins::yandex_tracing::Component component
18
static
constexpr
std
::
string_view
kName
=
"http-client-plugin-yandex-tracing"
;
19
20
Component(
const
components
::ComponentConfig&,
21
const
components
::ComponentContext&);
22
23
~Component()
override
;
24
25
http
::
Plugin
& GetPlugin()
override
;
26
27
private
:
28
std::unique_ptr<yandex_tracing::Plugin> plugin_;
29
};
30
31
}
// namespace clients::http::plugins::yandex_tracing
32
33
USERVER_NAMESPACE_END
userver
clients
http
plugins
yandex_tracing
component.hpp
Generated on Mon Apr 1 2024 18:52:43 for userver by
Doxygen
1.10.0