Enum MethodType
Method types supported by gRPC.
Namespace: Grpc.Core
Assembly: Grpc.Core.Api.dll
Syntax
public enum MethodType : int
Fields
Name | Description |
---|---|
ClientStreaming | Stream of request sent from client, single response received from server. |
DuplexStreaming | Both server and client can stream arbitrary number of requests and responses simultaneously. |
ServerStreaming | Single request sent from client, stream of responses received from server. |
Unary | Single request sent from client, single response received from server. |