6#include <userver/components/state.hpp>
7#include <userver/server/handlers/http_handler_base.hpp>
11namespace server::handlers {
31 Ping(
const components::ComponentConfig& config,
32 const components::ComponentContext& component_context);
39 const http::HttpRequest& request,
40 request::RequestContext& context)
const override;
42 void OnAllComponentsLoaded()
override;
47 void AppendWeightHeaders(http::HttpResponse&)
const;
51 std::chrono::steady_clock::time_point load_time_{};
52 std::chrono::seconds awacs_weight_warmup_time_{60};
58inline constexpr bool components::kHasValidate<server::handlers::Ping> =
true;