Method types supported by gRPC.
Namespace: Grpc.CoreAssembly: Grpc.Core (in Grpc.Core.dll) Version: 0.7.0.0
SyntaxPublic Enumeration MethodType
public enum class MethodType
Members
| Member name | Value | Description |
---|
| Unary | 0 | Single request sent from client, single response received from server. |
| ClientStreaming | 1 | Stream of request sent from client, single response received from server. |
| ServerStreaming | 2 | Single request sent from client, stream of responses received from server. |
| DuplexStreaming | 3 | Both server and client can stream arbitrary number of requests and responses simultaneously. |
See Also