Fix the client raw sample to use user input (#321)

This commit is contained in:
Mikael Mengistu 2017-03-20 11:31:44 -07:00 committed by GitHub
parent 913354f688
commit 9659c73e05
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ namespace ClientSample
var line = Console.ReadLine();
logger.LogInformation("Sending: {0}", line);
await connection.SendAsync(Encoding.UTF8.GetBytes("Hello World"), MessageType.Text);
await connection.SendAsync(Encoding.UTF8.GetBytes(line), MessageType.Text);
}
logger.LogInformation("Send loop terminated");
}