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/loggable_component_base.hpp>
+ Include dependency graph for configuration.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.
 

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.
 

Typedef Documentation

◆ MiddlewaresList

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

Definition at line 38 of file configuration.hpp.