mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
updates library for new URI api
This commit is contained in:
@@ -71,6 +71,12 @@ uri::uri(bool secure, const std::string& host, uint16_t port, const std::string&
|
||||
m_port(port),
|
||||
m_resource(resource == "" ? "/" : resource) {}
|
||||
|
||||
uri::uri(bool secure, const std::string& host, const std::string& resource)
|
||||
: m_secure(secure),
|
||||
m_host(host),
|
||||
m_port(m_secure ? DEFAULT_SECURE_PORT : DEFAULT_PORT),
|
||||
m_resource(resource == "" ? "/" : resource) {}
|
||||
|
||||
uri::uri(bool secure,
|
||||
const std::string& host,
|
||||
const std::string& port,
|
||||
|
||||
Reference in New Issue
Block a user