#include <uri.h>
Definition at line 18 of file uri.h.
◆ Type
Enumerator |
---|
IPv4 | |
IPv6 | |
Domain | |
Definition at line 20 of file uri.h.
◆ URI()
Botan::URI::URI |
( |
Type | type, |
|
|
std::string_view | host, |
|
|
uint16_t | port ) |
|
inline |
Definition at line 31 of file uri.h.
const std::string & host() const
◆ from_any()
URI Botan::URI::from_any |
( |
std::string_view | uri | ) |
|
|
static |
◆ from_domain()
URI Botan::URI::from_domain |
( |
std::string_view | uri | ) |
|
|
static |
Definition at line 160 of file uri.cpp.
160 {
161 throw Not_Implemented("No socket support enabled in build");
162}
◆ from_ipv4()
URI Botan::URI::from_ipv4 |
( |
std::string_view | uri | ) |
|
|
static |
Definition at line 164 of file uri.cpp.
164 {
165 throw Not_Implemented("No socket support enabled in build");
166}
◆ from_ipv6()
URI Botan::URI::from_ipv6 |
( |
std::string_view | uri | ) |
|
|
static |
Definition at line 168 of file uri.cpp.
168 {
169 throw Not_Implemented("No socket support enabled in build");
170}
◆ host()
const std::string & Botan::URI::host |
( |
| ) |
const |
|
inline |
Definition at line 37 of file uri.h.
◆ operator==()
bool Botan::URI::operator== |
( |
const URI & | a | ) |
const |
|
inline |
Definition at line 33 of file uri.h.
33{ return m_type == a.m_type && m_host == a.m_host && m_port == a.m_port; }
◆ port()
uint16_t Botan::URI::port |
( |
| ) |
const |
|
inline |
Definition at line 39 of file uri.h.
◆ to_string()
std::string Botan::URI::to_string |
( |
| ) |
const |
◆ type()
Type Botan::URI::type |
( |
| ) |
const |
|
inline |
Definition at line 41 of file uri.h.
The documentation for this class was generated from the following files: