WPILibC++ 2023.4.3
|
Parses a URL into its constiuent components. More...
#include <wpinet/UrlParser.h>
Public Member Functions | |
UrlParser (std::string_view in, bool isConnect) | |
Parse a URL. More... | |
bool | IsValid () const |
Determine if the URL is valid (e.g. More... | |
bool | HasSchema () const |
bool | HasHost () const |
bool | HasPort () const |
bool | HasPath () const |
bool | HasQuery () const |
bool | HasFragment () const |
bool | HasUserInfo () const |
std::string_view | GetSchema () const |
std::string_view | GetHost () const |
unsigned int | GetPort () const |
std::string_view | GetPath () const |
std::string_view | GetQuery () const |
std::string_view | GetFragment () const |
std::string_view | GetUserInfo () const |
Parses a URL into its constiuent components.
schema://userinfo@host:port/the/path?query#fragment
|
inline |
Parse a URL.
in | input |
isConnect |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Determine if the URL is valid (e.g.
the parse was successful).