userver
C++ Async Framework
Loading...
Searching...
No Matches
component.hpp
1
#
pragma
once
2
3
/// @file userver/ugrpc/client/baggage/component.hpp
4
/// @brief @copybrief ugrpc::client::middlewares::baggage::Component
5
6
#
include
<
userver
/
ugrpc
/
client
/
middlewares
/
base
.
hpp
>
7
8
USERVER_NAMESPACE_BEGIN
9
10
/// Client baggage middleware
11
namespace
ugrpc::
client
::middlewares::baggage {
12
13
/// @ingroup userver_components
14
///
15
/// @brief Component for gRPC client baggage
16
class
Component
final
:
public
MiddlewareComponentBase
{
17
public
:
18
/// @ingroup userver_component_names
19
/// @brief The default name of ugrpc::client::middlewares::baggage::Component
20
static
constexpr
std
::
string_view
kName
=
"grpc-client-baggage"
;
21
22
Component(
const
components
::ComponentConfig& config,
23
const
components
::ComponentContext& context);
24
25
std::shared_ptr<
const
MiddlewareFactoryBase
>
GetMiddlewareFactory
()
override
;
26
27
static
yaml_config
::Schema GetStaticConfigSchema();
28
};
29
30
}
// namespace ugrpc::client::middlewares::baggage
31
32
USERVER_NAMESPACE_END
userver
ugrpc
client
middlewares
baggage
component.hpp
Generated on Wed May 15 2024 22:16:40 for userver by
Doxygen
1.10.0