RedisClientExtensions
Assembly: ServiceStack.Redis.dll
View Source
Declaration
public static class RedisClientExtensions
Methods
GetHostString(IRedisClient)
View Source
Declaration
public static string GetHostString(this IRedisClient redis)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisClient | redis |
GetHostString(RedisEndpoint)
View Source
Declaration
public static string GetHostString(this RedisEndpoint config)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Redis.RedisEndpoint | config |
AppendToValue(IRedisClient, String, String)
View Source
Declaration
[Obsolete("Use AppendTo")]
public static long AppendToValue(this IRedisClient redis, string key, string value)
Returns
System.Int64
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisClient | redis |
System.String | key |
System.String | value |
AppendToValueAsync(IRedisClientAsync, String, String, CancellationToken)
View Source
Declaration
[Obsolete("Use AppendToAsync")]
public static ValueTask<long> AppendToValueAsync(this IRedisClientAsync redis, string key, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisClientAsync | redis |
System.String | key |
System.String | value |
System.Threading.CancellationToken | token |