Add support for parsing port in urls.

This commit is contained in:
Arthur Britto
2012-12-29 14:59:44 -08:00
parent 824a79da85
commit e91ce698f6
3 changed files with 29 additions and 12 deletions

View File

@@ -265,7 +265,7 @@ template<typename T, typename U> T range_check_cast(const U& value, const T& min
return static_cast<T>(value);
}
bool parseUrl(const std::string& strUrl, std::string& strScheme, std::string& strDomain, std::string& strPath);
bool parseUrl(const std::string& strUrl, std::string& strScheme, std::string& strDomain, int& iPort, std::string& strPath);
#endif