qb
2.0.0.0
C++17 Actor Framework
|
URI parsing and manipulation utilities. More...
#include <charconv>
#include <qb/io/config.h>
#include <qb/system/container/unordered_map.h>
#include <qb/utility/build_macros.h>
#include <regex>
#include <string>
#include <string_view>
#include <vector>
Go to the source code of this file.
Classes | |
class | qb::io::uri |
Class for parsing, manipulating, and representing URIs. More... |
Functions | |
bool | qb::io::is_alnum (int c) |
Checks if a character is alphanumeric. | |
bool | qb::io::is_unreserved (int c) |
Checks if a character is unreserved according to RFC 3986. | |
bool | qb::io::is_gen_delim (int c) |
Checks if a character is a general delimiter according to RFC 3986. | |
bool | qb::io::is_sub_delim (int c) |
Checks if a character is a subdelimiter according to RFC 3986. | |
bool | qb::io::is_reserved (int c) |
Checks if a character is reserved according to RFC 3986. | |
bool | qb::io::is_scheme_character (int c) |
Checks if a character is valid for a URI scheme. | |
bool | qb::io::is_user_info_character (int c) |
Checks if a character is valid for URI user information. | |
bool | qb::io::is_authority_character (int c) |
Checks if a character is valid for the authority part of a URI. | |
bool | qb::io::is_path_character (int c) |
Checks if a character is valid for the path part of a URI. | |
bool | qb::io::is_query_character (int c) |
Checks if a character is valid for the query part of a URI. | |
bool | qb::io::is_fragment_character (int c) |
Checks if a character is valid for the fragment part of a URI. |
URI parsing and manipulation utilities.
This file provides a comprehensive URI (Uniform Resource Identifier) implementation that follows RFC 3986 standards. It includes functionality for parsing, encoding, decoding, and manipulating URIs with support for schemes, authority components, paths, queries, and fragments.
The implementation supports both IPv4 and IPv6 addressing formats and provides utility functions for character classification according to URI specifications.
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
inline |
Checks if a character is alphanumeric.
c | The character to check |
|
inline |
Checks if a character is unreserved according to RFC 3986.
c | The character to check |
|
inline |
Checks if a character is a general delimiter according to RFC 3986.
c | The character to check |
|
inline |
Checks if a character is a subdelimiter according to RFC 3986.
c | The character to check |
|
inline |
Checks if a character is reserved according to RFC 3986.
c | The character to check |
|
inline |
Checks if a character is valid for a URI scheme.
c | The character to check |
|
inline |
Checks if a character is valid for URI user information.
c | The character to check |
|
inline |
Checks if a character is valid for the authority part of a URI.
c | The character to check |
|
inline |
Checks if a character is valid for the path part of a URI.
c | The character to check |
|
inline |
Checks if a character is valid for the query part of a URI.
c | The character to check |
|
inline |
Checks if a character is valid for the fragment part of a URI.
c | The character to check |