Parses a URL into its constituent components.
More...
#include <wpinet/UrlParser.h>
Parses a URL into its constituent components.
schema://userinfo@host:port/the/path?query#fragment
◆ UrlParser()
wpi::UrlParser::UrlParser |
( |
std::string_view | in, |
|
|
bool | isConnect ) |
|
inline |
◆ GetFragment()
std::string_view wpi::UrlParser::GetFragment |
( |
| ) |
const |
|
inline |
◆ GetHost()
std::string_view wpi::UrlParser::GetHost |
( |
| ) |
const |
|
inline |
◆ GetPath()
std::string_view wpi::UrlParser::GetPath |
( |
| ) |
const |
|
inline |
◆ GetPort()
unsigned int wpi::UrlParser::GetPort |
( |
| ) |
const |
|
inline |
◆ GetQuery()
std::string_view wpi::UrlParser::GetQuery |
( |
| ) |
const |
|
inline |
◆ GetSchema()
std::string_view wpi::UrlParser::GetSchema |
( |
| ) |
const |
|
inline |
◆ GetUserInfo()
std::string_view wpi::UrlParser::GetUserInfo |
( |
| ) |
const |
|
inline |
◆ HasFragment()
bool wpi::UrlParser::HasFragment |
( |
| ) |
const |
|
inline |
◆ HasHost()
bool wpi::UrlParser::HasHost |
( |
| ) |
const |
|
inline |
◆ HasPath()
bool wpi::UrlParser::HasPath |
( |
| ) |
const |
|
inline |
◆ HasPort()
bool wpi::UrlParser::HasPort |
( |
| ) |
const |
|
inline |
◆ HasQuery()
bool wpi::UrlParser::HasQuery |
( |
| ) |
const |
|
inline |
◆ HasSchema()
bool wpi::UrlParser::HasSchema |
( |
| ) |
const |
|
inline |
◆ HasUserInfo()
bool wpi::UrlParser::HasUserInfo |
( |
| ) |
const |
|
inline |
◆ IsValid()
bool wpi::UrlParser::IsValid |
( |
| ) |
const |
|
inline |
Determine if the URL is valid (e.g.
the parse was successful).
The documentation for this class was generated from the following file: