MCPcopy Create free account
hub / github.com/apache/qpid-proton / default_url_options

Function default_url_options

cpp/src/proactor_container_impl.cpp:164–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162
163namespace {
164void default_url_options(connection_options& opts, const url& url) {
165 opts.virtual_host(url.host());
166 if (!url.user().empty())
167 opts.user(url.user());
168 if (!url.password().empty())
169 opts.password(url.password());
170 // If scheme is amqps then use default tls settings
171 if (url.scheme()==url.AMQPS) {
172 opts.ssl_client_options(ssl_client_options());
173 }
174}
175}
176
177pn_connection_t* container::impl::make_connection_lh(

Callers 2

make_connection_lhMethod · 0.85
reconnectMethod · 0.85

Calls 8

schemeMethod · 0.80
ssl_client_optionsMethod · 0.80
ssl_client_optionsClass · 0.70
virtual_hostMethod · 0.45
hostMethod · 0.45
emptyMethod · 0.45
userMethod · 0.45
passwordMethod · 0.45

Tested by

no test coverage detected