|
Upa URL C++ library
A WHATWG URL Standard implementation
|
#include <upa/url_host.h>
Public Member Functions | |
| url_host ()=delete | |
| url_host (const url_host &)=default | |
| url_host (url_host &&) noexcept=default | |
| url_host & | operator= (const url_host &)=default |
| url_host & | operator= (url_host &&) noexcept=default |
| template<class StrT, enable_if_str_arg_t< StrT > = 0> | |
| url_host (const StrT &str) | |
| ~url_host ()=default | |
| destructor | |
| HostType | type () const |
| std::string_view | name () const |
| std::string | to_string () const |
Definition at line 80 of file url_host.h.
|
delete |
|
default |
|
defaultnoexcept |
|
inlineexplicit |
Parsing constructor
Throws url_error exception on parse error.
| [in] | str | Host string to parse |
Definition at line 94 of file url_host.h.
|
default |
destructor
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
Host type getter
Definition at line 109 of file url_host.h.