internal async Task StoreCachedResponseAsync(HttpRequestMessage request, HttpResponseMessage freshResponse) { var cachedResponse = new CachedRequestResponse { Request = await Serializer.Serialize(request), Response = await Serializer.Serialize(freshResponse) }; StoreEntry(cachedResponse); }
private void StoreEntry(CachedRequestResponse entry) { storedEntries.Enqueue(entry); }