Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions samples/ClientApplication/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,21 @@ static async Task Main(string[] args)
})
.BuildServiceProvider();

Console.WriteLine("Samples: ");
Console.WriteLine("1. Echo Server");
Console.WriteLine("2. HttpClient");
Console.WriteLine("3. SignalR");
Console.WriteLine("4. Echo Server With TLS enabled");
Console.WriteLine("5. In Memory Transport Echo Server and client");
Console.WriteLine("6. Length prefixed custom binary protocol");
Console.WriteLine("7. Talk to local docker dameon");
Console.WriteLine("8. Memcached protocol");
Console.WriteLine("9. RebbitMQ protocol");

while (true)
{
Console.WriteLine("Samples: ");
Console.WriteLine("1. Echo Server");
Console.WriteLine("2. HttpClient");
Console.WriteLine("3. SignalR");
Console.WriteLine("4. Echo Server With TLS enabled");
Console.WriteLine("5. In Memory Transport Echo Server and client");
Console.WriteLine("6. Length prefixed custom binary protocol");
Console.WriteLine("7. Talk to local docker daemon");
Console.WriteLine("8. Memcached protocol");
Console.WriteLine("9. RabbitMQ protocol");

var keyInfo = Console.ReadKey();
Console.Clear();

if (keyInfo.Key == ConsoleKey.D1)
{
Expand Down Expand Up @@ -92,6 +93,8 @@ static async Task Main(string[] args)
Console.WriteLine("RabbitMQ test");
await RabbitMQProtocol(serviceProvider);
}

Console.Clear();
}
}

Expand Down