public void Set(string id, IpRateLimitPolicies policy) { _memoryCache.SetString(id, JsonConvert.SerializeObject(policy)); }
public void Set(string id, IpRateLimitPolicies policy) { _memoryCache.Set(id, policy); }
public void Set(string id, IpRateLimitPolicies policy) { _memoryCache.SetString(id, JsonConvert.SerializeObject(policy)); }
public void Set(string id, IpRateLimitPolicies policy) { _memoryCache.Set(id, policy); }