Simple non-binary-safe Redis Async Client.
Ejemplo n.º 1
0
		async static Task Test2Async()
		{
			var RedisClient = new RedisClientAsync();
			await RedisClient.Connect("localhost", 6379);
			Console.WriteLine((await RedisClient.Command("set", "hello-csharp", "999")).ToJson());
			Console.WriteLine((await RedisClient.Command("get", "hello-csharp")).ToJson());
		}
Ejemplo n.º 2
0
		public async Task _CommandTestAsync()
		{
			var RedisClient = new RedisClientAsync();
			/*
			await RedisClient.Connect("localhost", 6379);
			Console.WriteLine((await RedisClient.Command("set", "hello-csharp", "1")).ToJson());
			Console.WriteLine((await RedisClient.Command("get", "hello-csharp")).ToJson());
			*/
		}