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