Definition at line 9 of file middleware.hpp.
|
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.
|
|
◆ Handle()
Handles the gRPC request.
- Note
- You should call context.Next() inside, otherwise the call will be dropped.
Implements ugrpc::server::MiddlewareBase.
◆ kDependency
const auto ugrpc::server::middlewares::baggage::Middleware::kDependency |
|
inlinestatic |
Initial value:
dependency of this middleware
Definition at line 16 of file middleware.hpp.
The documentation for this class was generated from the following file: