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);
31 URI(
Type xtype,
const std::string& xhost,
unsigned short xport)
43 const std::string host{};
44 const uint16_t port{};
std::string to_string(ErrorType type)
Convert an ErrorType to string.
URI(Type xtype, const std::string &xhost, unsigned short xport)
bool operator==(const URI &a) const