Fix the client raw sample to use user input (#321)
This commit is contained in:
parent
913354f688
commit
9659c73e05
|
|
@ -75,7 +75,7 @@ namespace ClientSample
|
||||||
var line = Console.ReadLine();
|
var line = Console.ReadLine();
|
||||||
logger.LogInformation("Sending: {0}", line);
|
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");
|
logger.LogInformation("Send loop terminated");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue