50 static constexpr std::string_view
kName =
"http-client-core";
52 HttpClientCore(
const ComponentConfig&,
const ComponentContext&);
54 ~HttpClientCore()
override;
58 std::shared_ptr<clients::http::ClientCore> GetHttpClientCore(
utils::impl::InternalTag);
61 void WaitUntilConfigSet()
const;
64 static yaml_config::Schema GetStaticConfigSchema();
67 void OnLoadingCancelled()
override;
69 void OnConfigUpdate(
const dynamic_config::Diff& diff);
73 const bool disable_pool_stats_;
74 std::shared_ptr<clients::http::ClientCore> http_client_;
76 std::atomic<
bool> is_loading_cancelled_{
false};
77 mutable engine::MultiConsumerEvent config_updated_event_;
80 concurrent::AsyncEventSubscriberScope subscriber_scope_;