diff options
Diffstat (limited to 'source/Utility/UriParser.h')
| -rw-r--r-- | source/Utility/UriParser.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/Utility/UriParser.h b/source/Utility/UriParser.h index c46628d3bd68..fb129eaf79d5 100644 --- a/source/Utility/UriParser.h +++ b/source/Utility/UriParser.h @@ -20,6 +20,14 @@ class UriParser { public: + // Parses + // RETURN VALUE + // if url is valid, function returns true and + // scheme/hostname/port/path are set to the parsed values + // port it set to -1 if it is not included in the URL + // + // if the url is invalid, function returns false and + // output parameters remain unchanged static bool Parse(const char* uri, std::string& scheme, std::string& hostname, |
