|
Botan 3.12.0
Crypto and TLS for C&
|
#include <uri.h>
Public Types | |
| enum class | Type : uint8_t { IPv4 , IPv6 , Domain } |
Public Member Functions | |
| const std::string & | host () const |
| bool | operator== (const URI &a) const |
| uint16_t | port () const |
| std::string | to_string () const |
| Type | type () const |
| URI (Type type, std::string_view host, uint16_t port) | |
Static Public Member Functions | |
| static URI | from_any (std::string_view uri) |
| static URI | from_domain (std::string_view uri) |
| static URI | from_ipv4 (std::string_view uri) |
| static URI | from_ipv6 (std::string_view uri) |
|
strong |
|
inline |
Definition at line 30 of file uri.h.
References host(), port(), and type().
Referenced by from_any(), from_domain(), from_ipv4(), from_ipv6(), and operator==().
|
static |
Definition at line 170 of file uri.cpp.
References Botan::Not_Implemented::Not_Implemented(), and URI().
Referenced by Botan::OS::open_socket_udp().
|
static |
Definition at line 158 of file uri.cpp.
References Botan::Not_Implemented::Not_Implemented(), and URI().
|
static |
Definition at line 162 of file uri.cpp.
References Botan::Not_Implemented::Not_Implemented(), and URI().
|
static |
Definition at line 166 of file uri.cpp.
References Botan::Not_Implemented::Not_Implemented(), and URI().
|
inline |
|
inline |
|
inline |
| std::string Botan::URI::to_string | ( | ) | const |
|
inline |