wanshenmean
10 天以前 b1f5b17a608d3d9c06ce216c7e1effc5edcc7b74
1
2
3
4
5
6
7
8
9
10
11
12
namespace WIDESEAWCS_RedisService.Session
{
    public interface ISessionStorage
    {
        bool Set(string sessionId, string key, string value, TimeSpan? expiry = null);
        string? Get(string sessionId, string key);
        bool Remove(string sessionId, string key);
        bool DestroySession(string sessionId);
        bool SessionExists(string sessionId);
        bool RefreshSession(string sessionId, TimeSpan expiry);
    }
}