Add RPC shard download

This commit is contained in:
Miguel Portilla
2018-03-15 09:17:02 -04:00
committed by seelabs
parent 658f904ce0
commit a73372cb9d
12 changed files with 568 additions and 7 deletions

View File

@@ -92,6 +92,15 @@ struct parsedURL
std::string domain;
boost::optional<std::uint16_t> port;
std::string path;
bool
operator == (parsedURL const& other) const
{
return scheme == other.scheme &&
domain == other.domain &&
port == other.port &&
path == other.path;
}
};
bool parseUrl (parsedURL& pUrl, std::string const& strUrl);