11 #include <boost/property_tree/ptree.hpp>
27 explicit URI(
const boost::property_tree::ptree &property_tree);
63 boost::optional<std::string>
host_;
64 boost::optional<int>
port_;
boost::optional< int > port_
URI(const boost::property_tree::ptree &property_tree)
boost::optional< std::string > host_
const std::string & path() const
static std::string resolve(const std::string_view &uriString)
URI(std::string_view path)
boost::optional< std::string > protocol_
const auto & operator()() const
URI(std::string path, std::string protocol, std::string host, int port)
static std::optional< std::string > getHomePath(void)