arsd.curl

My old curl wrapper. Use arsd.http2 instead on newer projects, or std.net.curl in Phobos if you don't trust my homemade implementations :)

Members

Functions

cachedCurl
string cachedCurl(string url, int maxCacheHours)

this automatically caches to a local file for the given time. it ignores the expires header in favor of your time to keep.

Meta