95 static constexpr std::string_view
kName =
"server";
97 Server(
const components::ComponentConfig& component_config,
const components::ComponentContext& component_context);
105 const server::Server& GetServer()
const;
107 server::Server& GetServer();
109 void AddHandler(
const server::handlers::
HttpHandlerBase& handler, engine::TaskProcessor& task_processor);
111 static yaml_config::Schema GetStaticConfigSchema();
114 void WriteStatistics(
utils::statistics::Writer& writer);
116 std::unique_ptr<server::Server> server_;
117 utils::statistics::Entry server_statistics_holder_;
118 utils::statistics::Entry handler_statistics_holder_;