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