Github   Telegram
No Matches
Public Member Functions | List of all members
server::Server Class Referencefinal

Public Member Functions

 Server (ServerConfig config, const components::ComponentContext &component_context)
const ServerConfig & GetConfig () const
void WriteMonitorData (utils::statistics::Writer &writer) const
void WriteTotalHandlerStatistics (utils::statistics::Writer &writer) const
net::Stats GetServerStats () const
void AddHandler (const handlers::HttpHandlerBase &handler, engine::TaskProcessor &task_processor)
size_t GetRegisteredHandlersCount () const
const http::HttpRequestHandler & GetHttpRequestHandler (bool is_monitor=false) const
void Start ()
void Stop ()
RequestsView & GetRequestsView ()
void SetRpsRatelimit (std::optional< size_t > rps)
void SetRpsRatelimitStatusCode (http::HttpStatus status_code)

Detailed Description

Definition at line 28 of file server.hpp.

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