Skip to main content

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
TypeName
ServiceStack.Redis.IRedisClientredis

GetHostString(RedisEndpoint)

View Source
Declaration
public static string GetHostString(this RedisEndpoint config)
Returns

System.String

Parameters
TypeName
ServiceStack.Redis.RedisEndpointconfig

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
TypeName
ServiceStack.Redis.IRedisClientredis
System.Stringkey
System.Stringvalue

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
TypeName
ServiceStack.Redis.IRedisClientAsyncredis
System.Stringkey
System.Stringvalue
System.Threading.CancellationTokentoken