Skip to content

Instantly share code, notes, and snippets.

@mehmetcantas
Created March 22, 2020 19:41
Show Gist options
  • Save mehmetcantas/129132e713207661728eef4233f97003 to your computer and use it in GitHub Desktop.
Save mehmetcantas/129132e713207661728eef4233f97003 to your computer and use it in GitHub Desktop.
using System;
using System.Threading.Tasks;
namespace RedisNetApi.Caching
{
public interface IResponseCacheFactory
{
Task CacheResponseAsync(string cacheKey, object response, TimeSpan expireTimeSeconds);
Task<string> GetCachedResponseAsync(string cacheKey);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment