Made it more secure
This commit is contained in:
1 parent
0e299d0d27
commit
0c659e9d34
6 files changed
+533
-738
No files matched your search
@@ -24,6 +24,9 @@ namespace EonaCat.Connections.Client.Example
|
||||
Console.Write("Enter message to send (or 'exit' to quit): ");
|
||||
var message = Console.ReadLine();
|
||||
|
||||
HttpClient httpClient = new HttpClient();
|
||||
message = await httpClient.GetStringAsync("https://samples.json-format.com/employees/10-level/employees-10-level_100MB.json");
|
||||
|
||||
if (!string.IsNullOrEmpty(message) && message.Equals("exit", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
await _client.DisconnectAsync().ConfigureAwait(false);
|
||||
|
||||
Reference in new issue
Block a user