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
17
class
Component
final
:
public
MiddlewareComponentBase
{
18
public
:
19
static
constexpr
std::string_view kName =
"grpc-client-baggage"
;
20
21
Component(
const
components
::ComponentConfig& config,
22
const
components
::ComponentContext& context);
23
24
std::shared_ptr<
const
MiddlewareFactoryBase
>
GetMiddlewareFactory
()
override
;
25
26
static
yaml_config
::Schema GetStaticConfigSchema();
27
};
28
29
}
// namespace ugrpc::client::middlewares::baggage
30
31
USERVER_NAMESPACE_END
userver
ugrpc
client
middlewares
baggage
component.hpp
Generated on Wed Oct 4 2023 12:12:29 for userver by
Doxygen
1.9.8