A URI according to RFC 3986.
More...
#include <uri.hpp>
Inherits comparable< uri >, and comparable< uri, string_view >.
|
struct | authority_type |
| Bundles the authority component of the URI, i.e., userinfo, host, and port. More...
|
|
|
| uri (uri &&)=default |
|
| uri (const uri &)=default |
|
uri & | operator= (uri &&)=default |
|
uri & | operator= (const uri &)=default |
|
| uri (impl_ptr ptr) |
|
bool | empty () const noexcept |
| Returns whether all components of this URI are empty.
|
|
string_view | str () const noexcept |
| Returns the full URI as provided by the user.
|
|
string_view | scheme () const noexcept |
| Returns the scheme component.
|
|
const authority_type & | authority () const noexcept |
| Returns the authority component.
|
|
string_view | path () const noexcept |
| Returns the path component as provided by the user.
|
|
const query_map & | query () const noexcept |
| Returns the query component as key-value map.
|
|
string_view | fragment () const noexcept |
| Returns the fragment component.
|
|
int | compare (const uri &other) const noexcept |
|
int | compare (string_view x) const noexcept |
|
A URI according to RFC 3986.
◆ host_type
Host subcomponent of the authority component.
Either an IP address or an hostname as string.
◆ parse()
◆ to_string()
std::string to_string |
( |
const uri & |
x | ) |
|
|
related |
The documentation for this class was generated from the following file:
- /build/actor-framework-iVGYZC/actor-framework-0.16.3/libcaf_core/caf/uri.hpp