Project Description
Enough HttpClientCachingExtensions allows you to store the response of a HttpClient call according to the server's caching information.
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("http://enough.de"); }
For more information please refer to the
documentation
Enough.HttpClientExtensions
is available on
NuGet!