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&,
const
components
::ComponentContext&);
21
22
~Component()
override
;
23
24
http::
Plugin
& GetPlugin()
override
;
25
26
private
:
27
std::unique_ptr<yandex_tracing::Plugin> plugin_;
28
};
29
30
}
// namespace clients::http::plugins::yandex_tracing
31
32
template
<>
33
inline
constexpr
bool
components
::kHasValidate<clients::http::plugins::yandex_tracing::Component> =
true
;
34
35
USERVER_NAMESPACE_END
userver
clients
http
plugins
yandex_tracing
component.hpp
Generated on Tue Nov 11 2025 16:12:52 for userver by
Doxygen
1.13.2