13 #include <botan/build.h>
26 static URI fromAny(
const std::string& uri);
27 static URI fromIPv4(
const std::string& uri);
28 static URI fromIPv6(
const std::string& uri);
29 static URI fromDomain(
const std::string& uri);
43 const std::string host{};
44 const uint16_t port{};
URI(Type type, const std::string &host, unsigned short port)
std::string to_string(ErrorType type)
Convert an ErrorType to string.
bool operator==(const URI &a) const