userver: userver/server/middlewares/configuration.hpp File Reference
Loading...
Searching...
No Matches
configuration.hpp File Reference

Detailed Description

Utility functions/classes for middleware pipelines configuration.

Definition in file configuration.hpp.

Go to the source code of this file.

#include <string>
#include <vector>
#include <userver/components/component_base.hpp>

Classes

class  server::middlewares::PipelineBuilder
 Base class to build a server-wide middleware pipeline. One may inherit from it and implement any custom logic, if desired. More...
 
class  server::middlewares::HandlerPipelineBuilder
 Base class to build a per-handler middleware pipeline. One may inherit from it and implement any custom logic, if desired. By default the behavior is to use the server-wide pipeline. More...
 

Namespaces

namespace  components
 Contains functions and types to start a userver based service/tool.
 
namespace  server::middlewares
 HTTP server middlewares.
 

Typedefs

using server::middlewares::MiddlewaresList = std::vector<std::string>
 

Functions

components::ComponentList server::middlewares::DefaultMiddlewareComponents ()
 Returns a list of middleware-components which userver uses by default in http server.
 
components::ComponentList server::middlewares::MinimalMiddlewareComponents ()
 Returns a list of middleware-components required by userver to start a http server.
 
MiddlewaresList server::middlewares::DefaultPipeline ()
 Returns the default userver-provided middleware pipeline.