Your opinion will help to improve our service
Leave a feedback >Definition at line 9 of file middleware.hpp.
Public Member Functions | |
void | Handle (MiddlewareCallContext &context) const override |
Handles the gRPC request. | |
virtual void | CallRequestHook (const MiddlewareCallContext &context, google::protobuf::Message &request) |
Request hook. The function is invoked on each request. | |
virtual void | CallResponseHook (const MiddlewareCallContext &context, google::protobuf::Message &response) |
Response hook. The function is invoked on each response. | |
Static Public Attributes | |
static constexpr std::string_view | kName = "grpc-server-baggage" |
The default name of ugrpc::server::middlewares::baggage::Component. | |
static const auto | kDependency |
dependency of this middleware | |
|
overridevirtual |
Handles the gRPC request.
Implements ugrpc::server::MiddlewareBase.
|
inlinestatic |
dependency of this middleware
Definition at line 16 of file middleware.hpp.