 |
Kea
1.5.0
|
Go to the documentation of this file.
34 explicit Url(
const std::string& url);
53 return (error_message_);
84 std::string
toText()
const;
89 void checkValid()
const;
104 std::string error_message_;
110 std::string hostname_;
bool operator<(const Url &url) const
compares URLs lexically.
bool isValid() const
Checks if the URL is valid.
std::string getHostname() const
Returns hostname.
Scheme
Scheme: https or http.
Scheme getScheme() const
Returns parsed scheme.
unsigned getPort() const
Returns port number.
Defines the logger used by the top-level component of kea-dhcp-ddns.
std::string getErrorMessage() const
Returns parsing error message.
std::string toText() const
Returns textual representation of the URL.
std::string getPath() const
Returns path.
Url(const std::string &url)
Constructor.
std::string getStrippedHostname() const
Returns hostname stripped from [ ] characters surrounding IPv6 address.