Unsettled API More...
Functions | |
std::string | default_file () |
std::string | parse (std::istream &is, connection_options &opts) |
Parse Connection Configuration from is and update opts . More... | |
std::string | parse_default (connection_options &opts) |
Parse Connection Configuration from default_file() and update opts . More... | |
Unsettled API
Functions for locating and using a Connection Configuration file, or a configuration string to set connection_options
std::string proton::connect_config::default_file | ( | ) |
proton::error | if no default file is found |
std::string proton::connect_config::parse | ( | std::istream & | is, |
connection_options & | opts | ||
) |
Parse Connection Configuration from is
and update opts
.
is | input stream for configuration file/string |
opts | [out] connection options to update |
std::string proton::connect_config::parse_default | ( | connection_options & | opts | ) |
Parse Connection Configuration from default_file() and update opts
.
opts | [out] connection options to update |