#include <uri.h>
Definition at line 18 of file uri.h.
◆ Type
Enumerator |
---|
IPv4 | |
IPv6 | |
Domain | |
Definition at line 20 of file uri.h.
20 : uint8_t {
21 IPv4,
22 IPv6,
24 };
◆ URI()
Botan::URI::URI |
( |
Type | type, |
|
|
std::string_view | host, |
|
|
uint16_t | port ) |
|
inline |
◆ 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 168 of file uri.cpp.
168 {
169 throw Not_Implemented("No socket support enabled in build");
170}
References URI().
◆ from_ipv4()
URI Botan::URI::from_ipv4 |
( |
std::string_view | uri | ) |
|
|
static |
Definition at line 172 of file uri.cpp.
172 {
173 throw Not_Implemented("No socket support enabled in build");
174}
References URI().
◆ from_ipv6()
URI Botan::URI::from_ipv6 |
( |
std::string_view | uri | ) |
|
|
static |
Definition at line 176 of file uri.cpp.
176 {
177 throw Not_Implemented("No socket support enabled in build");
178}
References URI().
◆ host()
const std::string & Botan::URI::host |
( |
| ) |
const |
|
inline |
◆ 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; }
References URI().
◆ port()
uint16_t Botan::URI::port |
( |
| ) |
const |
|
inline |
◆ to_string()
std::string Botan::URI::to_string |
( |
| ) |
const |
◆ type()
Type Botan::URI::type |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: