aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Core/Method.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/csharp/Grpc.Core/Method.cs')
-rw-r--r--src/csharp/Grpc.Core/Method.cs11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/csharp/Grpc.Core/Method.cs b/src/csharp/Grpc.Core/Method.cs
index 4f97eeef37..156e780c7d 100644
--- a/src/csharp/Grpc.Core/Method.cs
+++ b/src/csharp/Grpc.Core/Method.cs
@@ -35,12 +35,15 @@ using System;
namespace Grpc.Core
{
+ /// <summary>
+ /// Method types supported by gRPC.
+ /// </summary>
public enum MethodType
{
- Unary,
- ClientStreaming,
- ServerStreaming,
- DuplexStreaming
+ Unary, // Unary request, unary response.
+ ClientStreaming, // Streaming request, unary response.
+ ServerStreaming, // Unary request, streaming response.
+ DuplexStreaming // Streaming request, streaming response.
}
/// <summary>