|
WPILibC++
2020.3.2
|
Parses a URL into its constiuent components. More...
#include <UrlParser.h>
Public Member Functions | |
| UrlParser (StringRef 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 |
| StringRef | GetSchema () const |
| StringRef | GetHost () const |
| unsigned int | GetPort () const |
| StringRef | GetPath () const |
| StringRef | GetQuery () const |
| StringRef | GetFragment () const |
| StringRef | 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 |
Determine if the URL is valid (e.g.
the parse was successful).