34 explicit Url(
const std::string& url);
53 return (error_message_);
87 std::string
toText()
const;
99 void checkValid()
const;
114 std::string error_message_;
120 std::string hostname_;
std::string getStrippedHostname() const
Returns hostname stripped from [ ] characters surrounding IPv6 address.
bool operator<(const Url &url) const
compares URLs lexically.
std::string toText() const
Returns textual representation of the URL.
std::string getPath() const
Returns path.
bool isValid() const
Checks if the URL is valid.
Scheme
Scheme: https or http.
std::string getErrorMessage() const
Returns parsing error message.
std::string getHostname() const
Returns hostname.
const std::string & rawUrl() const
Returns the raw, unparsed URL string.
Defines the logger used by the top-level component of kea-dhcp-ddns.
Url(const std::string &url)
Constructor.
Scheme getScheme() const
Returns parsed scheme.
unsigned getPort() const
Returns port number.