This project is read-only.

Project Description
Enough HttpClientCachingExtensions allows you to store the response of a HttpClient call according to the server's caching information.
Enough Software
An Enough Software project.


HttpClientExtensions helps you to cache your response automatically and retrieve it from the file storage.

using Enough.Http.Cache;

private async void doHttpGetAsync()
    HttpClient client = new HttpClient();
    // you only need to configure the cache once in a lifetime of your app:
    client.ConfigureCacheAsync(ApplicationData.Current.TemporaryFolder, cacheSizeInKilobytes: 5 * 1024);
    HttpResponseMessage responseMessage = await client.GetCachedAsync("");

For more information please refer to the documentation


Enough.HttpClientExtensions is available on NuGet!

Last edited Oct 7, 2013 at 1:44 PM by enoughrob, version 8