proton::connect_config Namespace Reference
*Unsettled API*
More...
Detailed Description
*Unsettled API*
Functions for locating and using a connect-config file, or a configuration string to set connection_options
Function Documentation
std::string proton::connect_config::default_file |
( |
|
) |
|
- Returns:
- name of the default connect-config file.
- Exceptions:
-
std::string proton::connect_config::parse |
( |
std::istream & |
is, |
|
|
connection_options & |
opts | |
|
) |
| | |
Parse connect-config from is
and update opts
.
- Parameters:
-
| is | input stream for configuration file/string |
| opts | [out] connection options to update |
- Returns:
- address suitable for container::connect() from configuration
std::string proton::connect_config::parse_default |
( |
connection_options & |
opts |
) |
|