Definition at line 23 of file client.hpp.
Public Attributes | |
| std::string | service_name |
| bool | get_configs_overrides_for_service {true} |
| When true, sends service. Mutually exclusive with non-empty service_overrides. | |
| std::chrono::milliseconds | timeout {0} |
| int | retries {1} |
| std::string | config_url |
| std::vector< std::string > | fallback_config_urls |
| Requested in order if config_url fails with a network error, timeout or 5xx. | |
| bool | append_path_to_url {true} |
| std::string | stage_name |
| bool | is_prestable {false} |
| std::string | circuit |
| std::vector< std::string > | service_overrides |
| Ordered service names sent as service_overrides. Mutually exclusive with service. | |
| std::unordered_map< std::string, formats::json::Value > | additional_request_params {} |
| Extra top-level JSON fields sent with every request. Names must differ from the standard request fields. | |
| std::unordered_map<std::string, formats::json::Value> dynamic_config::ClientConfig::additional_request_params {} |
Extra top-level JSON fields sent with every request. Names must differ from the standard request fields.
Definition at line 39 of file client.hpp.
| bool dynamic_config::ClientConfig::append_path_to_url {true} |
Definition at line 32 of file client.hpp.
| std::string dynamic_config::ClientConfig::circuit |
Definition at line 35 of file client.hpp.
| std::string dynamic_config::ClientConfig::config_url |
Definition at line 29 of file client.hpp.
| std::vector<std::string> dynamic_config::ClientConfig::fallback_config_urls |
Requested in order if config_url fails with a network error, timeout or 5xx.
Definition at line 31 of file client.hpp.
| bool dynamic_config::ClientConfig::get_configs_overrides_for_service {true} |
When true, sends service. Mutually exclusive with non-empty service_overrides.
Definition at line 26 of file client.hpp.
| bool dynamic_config::ClientConfig::is_prestable {false} |
Definition at line 34 of file client.hpp.
| int dynamic_config::ClientConfig::retries {1} |
Definition at line 28 of file client.hpp.
| std::string dynamic_config::ClientConfig::service_name |
Definition at line 24 of file client.hpp.
| std::vector<std::string> dynamic_config::ClientConfig::service_overrides |
Ordered service names sent as service_overrides. Mutually exclusive with service.
Definition at line 37 of file client.hpp.
| std::string dynamic_config::ClientConfig::stage_name |
Definition at line 33 of file client.hpp.
| std::chrono::milliseconds dynamic_config::ClientConfig::timeout {0} |
Definition at line 27 of file client.hpp.