tree: 34da56c53b5e0c41ec3fcaafa7ddaaea8f52001c
  1. greet.proto
  2. GreetGrpc.cs
  3. README.md
examples/csharp/AsyncSuffix/README.md

Async Suffix Example

This example demonstrates the behavior of the append_async_suffix option in gRPC C# code generation.

Test Cases

  1. Basic Unary Method (SayHello)

    • Generated as SayHelloAsync when append_async_suffix=true
  2. Pre-existing Async Method (SayHelloAsync)

    • Doesn't get double suffix (SayHelloAsyncAsync)
  3. Streaming Methods

    • Generated as MethodNameAsync when append_async_suffix=true
  4. Deprecated Method (OldHello)

    • Gets Async suffix but maintains deprecated attribute