userver: server::middlewares::HttpMiddlewareBase Class Reference
Loading...
Searching...
No Matches
server::middlewares::HttpMiddlewareBase Class Referenceabstract

#include <userver/server/middlewares/http_middleware_base.hpp>

Detailed Description

Base class for a http middleware.

Definition at line 33 of file http_middleware_base.hpp.

+ Inheritance diagram for server::middlewares::HttpMiddlewareBase:

Protected Member Functions

virtual void HandleRequest (http::HttpRequest &request, request::RequestContext &context) const =0
 Override this method to implement a middleware logic.
 
void Next (http::HttpRequest &request, request::RequestContext &context) const
 The method to invoke the next middleware in a pipeline.
 

Friends And Related Symbol Documentation

◆ handlers::HttpHandlerBase

friend class handlers::HttpHandlerBase
friend

Definition at line 47 of file http_middleware_base.hpp.


The documentation for this class was generated from the following file: