6#include <userver/components/state.hpp>
7#include <userver/server/handlers/http_handler_base.hpp>
11namespace server::handlers {
35 PingBase(
const components::ComponentConfig& config,
const components::ComponentContext& component_context);
57 Ping(
const components::ComponentConfig& config,
const components::ComponentContext& component_context);
61 static constexpr std::string_view
kName =
"handler-ping";
70 void AppendWeightHeaders(
http::HttpResponse&)
const;
72 std::chrono::steady_clock::time_point load_time_{};
73 std::chrono::seconds awacs_weight_warmup_time_{60};
79inline constexpr bool components::kHasValidate<server::handlers::Ping> =
true;