|
bool | unreserved (char c) |
| RFC3986 unreserved character test. More...
|
|
bool | gen_delim (char c) |
| RFC3986 generic delimiter character test. More...
|
|
bool | sub_delim (char c) |
| RFC3986 subcomponent delimiter character test. More...
|
|
bool | hexdigit (char c) |
| RFC3986 hex digit character test. More...
|
|
bool | scheme (char c) |
| RFC3986 scheme character test. More...
|
|
bool | digit (char c) |
| RFC3986 digit character test. More...
|
|
bool | digit (std::string::const_iterator it) |
| RFC3986 digit character test (iterator version) More...
|
|
bool | pct_encoded (std::string::const_iterator it) |
| RFC3986 per cent encoded character test. More...
|
|
bool | dec_octet (std::string::const_iterator start, std::string::const_iterator end) |
| Tests a range for a valid IPv4 decimal octet. More...
|
|
bool | ipv4_literal (std::string::const_iterator start, std::string::const_iterator end) |
| Tests a range for a valid IPv4 literal. More...
|
|
bool | hex4 (std::string::const_iterator start, std::string::const_iterator end) |
| Tests a range for a valid IPv6 hex quad. More...
|
|
bool | ipv6_literal (std::string::const_iterator start, std::string::const_iterator end) |
| Tests a range for a valid IPv6 literal. More...
|
|
bool | reg_name (char c) |
| Tests a character for validity for a registry name. More...
|
|
bool | reg_name (std::string::const_iterator start, std::string::const_iterator end) |
| Tests a range for validity for a registry name. More...
|
|
A group of helper methods for parsing and validating URIs against RFC 3986.
bool websocketpp::uri_helper::reg_name |
( |
char |
c | ) |
|
|
inline |
Tests a character for validity for a registry name.
will fail on %, which is valid, but only when used as a part of a multiple character escape sequence. Since this test checks a single character it can't tell whether a % character is valid so it returns false. The caller needs to catch and handle s in another way.
- Since
- 0.8.3
- Parameters
-
- Returns
- True if the range represents a valid IPv6 literal
Definition at line 361 of file uri.hpp.