X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2FHTTPClient.hxx;h=c726dc60e608cb61fa0edb34d13faab0ed62b1cb;hb=3bcd0bafd5fba1eebadfd1cb8a7294d665cf1932;hp=0ed210e5d6286a2135d319775577edb1205d7b4b;hpb=f93fead8f277403bd1759bc20d995e8935c53bc9;p=simgear.git diff --git a/simgear/io/HTTPClient.hxx b/simgear/io/HTTPClient.hxx index 0ed210e5..c726dc60 100644 --- a/simgear/io/HTTPClient.hxx +++ b/simgear/io/HTTPClient.hxx @@ -56,15 +56,15 @@ public: * @param filename Path to the target file * @param data Data for POST request */ - FileRequestRef urlretrieve( const std::string& url, - const std::string& filename ); + FileRequestRef save( const std::string& url, + const std::string& filename ); /** * Request a resource and keep it in memory. * * @param url The resource to download */ - MemoryRequestRef urlload(const std::string& url); + MemoryRequestRef load(const std::string& url); void setUserAgent(const std::string& ua); void setProxy(const std::string& proxy, int port, const std::string& auth = "");