Common functionality for containers
Synopsis
Declared in <boost/url/url_base.hpp>
class url_base
    : public url_view_baseBase Classes
| Name | Description | 
| Common functionality for containers | 
Member Functions
| Name | Description | 
| Return the authority | |
| Return the url string | |
| Return the url as a null‐terminated string | |
| Return the number of characters that can be stored without reallocating | |
| Clear the contents while preserving the capacity | |
| Return the result of comparing this with another url | |
| Return a pointer to the url's character buffer | |
| Return true if the url is empty | |
| Return the authority. | |
| Return the fragment | |
| Return the host | |
| Return the host | |
| Return the host and port | |
| Return the host name | |
| Return the origin | |
| Return the query as a container of parameters | |
| Return the password | |
| Return the path | |
| Return the query | |
| Return the resource | |
| Return the path as a container of segments | |
| Return the target | |
| Return the user | |
| Return the userinfo | |
| Return the IPv6 Zone ID | |
| Return the fragment | |
| Return true if an authority is present | |
| Return true if a fragment is present | |
| Return true if a password is present | |
| Return true if a port is present | |
| Return true if a query is present | |
| Return true a scheme is present | |
| Return true if a userinfo is present | |
| Return the host | |
| Return the host | |
| Return the host IPv4 address | |
| Return the host IPv6 address | |
| Return the host IPvFuture address | |
| Return the host name | |
| Return the host type | |
| Return true if the path is absolute | |
| Normalize the URL components | |
| Normalize the URL authority | |
| Normalize the URL fragment | |
| Normalize the URL path | |
| Normalize the URL query | |
| Normalize the URL scheme | |
| Return the query as a container of parameters | |
| Return the password | |
| Return the path | |
| Return a shared, persistent copy of the url | |
| Return the port | |
| Return the port | |
| Return the query | |
| Remove the authority | |
| Remove the fragment | |
| Remove the origin component | |
| Remove the password | |
| Remove the port | |
| Remove the query | |
| Remove the scheme | |
| Remove the userinfo | |
| Adjust the capacity without changing the size | |
| Resolve a URL reference against this base URL | |
| Return the scheme | |
| Return the scheme | |
| Return the path as a container of segments | |
| Set the authority | |
| Set the fragment. | |
| Set the host | |
| Set the host to an address | |
| Set the host to a name | |
| Set the query params | |
| Set the password. | |
| Set the path. | |
| Set the query | |
| Set the user | |
| Set the userinfo. | |
| Set the zone ID for an IPv6 address (percent‐encoded). | |
| Set the fragment. | |
| 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 a name | |
| Set the query params | |
| Set the password. | |
| Set the path. | |
| Set if the path is absolute | |
| Set the port | |
| Set the port | |
| Set the query | |
| Set the scheme | |
| Set the scheme | |
| Set the user | |
| Set the userinfo | |
| Set the zone ID for an IPv6 address. | |
| Return the number of characters in the url | |
| Return the user | |
| Return the userinfo | |
| Return the IPv6 Zone ID | |
| Return the URL as a core::string_view | 
Static Member Functions
| Name | Description | 
| Return the maximum number of characters possible | 
Protected Member Functions
| Name | Description | 
| Calculate a hash of the url | 
Friends
| Name | Description | 
| Resolve a URL reference against a base URL | |
| A view representing query parameters in a URL | |
| A view representing path segments in a URL | |
| A view representing path segments in a URL | |
| A view representing query parameters in a URL | |
| Common implementation for all static URLs | |
| A modifiable container for a URL. | 
Non-Member Functions
| Name | Description | 
| Format arguments into a URL | |
| Format arguments into a URL | |
| Return the result of comparing two URLs | |
| Return the result of comparing two URLs | |
| Return the result of comparing two URLs | |
| Return the result of comparing two URLs | |
| Return the result of comparing two URLs | |
| Return the result of comparing two URLs | 
Derived Classes
| Name | Description | 
| Common implementation for all static URLs | |
| A modifiable container for a URL. | 
Description
This base class is used by the library to provide common member functions for containers. This cannot be instantiated directly; Instead, use one of the containers or functions:
Containers
- 
url
- 
url_view
- 
static_url
Functions
- 
parse_absolute_uri
- 
parse_origin_form
- 
parse_relative_ref
- 
parse_uri
- 
parse_uri_reference
Created with MrDocs