Connect() public method

public Connect ( string Host, ushort Port ) : System.Threading.Tasks.Task
Host string
Port ushort
return System.Threading.Tasks.Task
Example #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());
		}