|
Apollo C++ Client
C++ client for Apollo Configuration Center
|
Options for configuring the Apollo client. More...
#include <apollo_types.h>
Public Attributes | |
| std::string | cluster_name_ = "default" |
| std::string | label_ = "" |
| std::vector< NamespaceType > | namespaces_ = {"application"} |
| int | connection_timeout_ms_ = 500 |
| int | request_read_timeout_ms_ = 120000 |
| int | request_write_timeout_ms_ = 3000 |
Options for configuring the Apollo client.
| std::string apollo::client::Opts::cluster_name_ = "default" |
The cluster name
| int apollo::client::Opts::connection_timeout_ms_ = 500 |
The timeout for establishing a connection in milliseconds
| std::string apollo::client::Opts::label_ = "" |
The label for the configuration
| std::vector<NamespaceType> apollo::client::Opts::namespaces_ = {"application"} |
The namespaces to subscribe to
| int apollo::client::Opts::request_read_timeout_ms_ = 120000 |
The timeout for read HTTP response in milliseconds
| int apollo::client::Opts::request_write_timeout_ms_ = 3000 |
The timeout for sent HTTP request in milliseconds