Class url
A modifiable container for a URL.
Member Functions
Name |
Description |
Destructor |
|
Constructor |
|
Constructor |
|
Constructor |
|
Constructor |
|
Constructor |
|
Assignment |
|
Assignment |
|
Assignment |
|
Swap the contents. |
|
Set the scheme |
|
Remove the scheme |
|
Set the authority |
|
Remove the authority |
|
Set the userinfo |
|
Set the userinfo. |
|
Remove the userinfo |
|
Set the user |
|
Set the user |
|
Set the password. |
|
Set the password. |
|
Remove the password |
|
Set the host |
|
Set the host |
|
Set the host to an address |
|
Set the host to an address |
|
Set the host to an address |
|
Set the host to an address |
|
Set the host to an address |
|
Set the host to a name |
|
Set the host to a name |
|
Set the port |
|
Set the port |
|
Remove the port |
|
Set the path. |
|
Set the path. |
|
Set the query |
|
Set the query |
|
Set the query params |
|
Set the query params |
|
Remove the query |
|
Remove the fragment |
|
Set the fragment. |
|
Set the fragment. |
|
Remove the origin component |
|
Normalize the URL components |
|
Normalize the URL scheme |
|
Normalize the URL authority |
|
Normalize the URL path |
|
Normalize the URL query |
|
Normalize the URL fragment |
Description
This container owns a url, represented by a null-terminated character buffer which is managed by performing dymamic memory allocations as needed. The contents may be inspected and modified, and the implementation maintains a useful invariant: changes to the url always leave it in a valid state.
Exception Safety
-
Functions marked
noexcept
provide the no-throw guarantee, otherwise: -
Functions which throw offer the strong exception safety guarantee.