Example #1
0
        private static async Task UnaryCallExample(Counter.CounterClient client)
        {
            var reply = await client.IncrementCountAsync(new Google.Protobuf.WellKnownTypes.Empty());

            Console.WriteLine("Count: " + reply.Count);
        }
        private static async Task UnaryCallExample(Counter.CounterClient client)
        {
            var reply = await client.IncrementCountAsync(new Empty());

            Console.WriteLine("Count: " + reply.Count);
        }