Created
March 22, 2020 19:41
-
-
Save mehmetcantas/129132e713207661728eef4233f97003 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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