9 namespace launchdarkly::config::shared::built {
13 enum class VerifyMode { kVerifyPeer, kVerifyNone };
16 std::optional<std::string> ca_bundle_path);
18 [[nodiscard]] VerifyMode PeerVerifyMode()
const;
19 [[nodiscard]] std::optional<std::string>
const& CustomCAFile()
const;
22 VerifyMode verify_mode_;
23 std::optional<std::string> ca_bundle_path_;
29 std::chrono::milliseconds read_timeout,
30 std::chrono::milliseconds write_timeout,
31 std::chrono::milliseconds response_timeout,
32 std::map<std::string, std::string> base_headers,
35 [[nodiscard]] std::chrono::milliseconds ConnectTimeout()
const;
36 [[nodiscard]] std::chrono::milliseconds ReadTimeout()
const;
37 [[nodiscard]] std::chrono::milliseconds WriteTimeout()
const;
39 [[nodiscard]] std::chrono::milliseconds ResponseTimeout()
const;
40 [[nodiscard]] std::map<std::string, std::string>
const& BaseHeaders()
const;
45 std::chrono::milliseconds connect_timeout_;
46 std::chrono::milliseconds read_timeout_;
47 std::chrono::milliseconds write_timeout_;
48 std::chrono::milliseconds response_timeout_;
49 std::map<std::string, std::string> base_headers_;
Definition: http_properties.hpp:26
Definition: http_properties.hpp:11