Delegate ClientStreamingServerMethod<TRequest, TResponse>
Server-side handler for client streaming call.
Namespace: Grpc.Core
Assembly: Grpc.Core.Api.dll
Syntax
public delegate Task<TResponse> ClientStreamingServerMethod<TRequest, TResponse>(IAsyncStreamReader<TRequest> requestStream, ServerCallContext context)
where TRequest : class where TResponse : class;
Parameters
Type | Name | Description |
---|---|---|
IAsyncStreamReader<TRequest> | requestStream | |
ServerCallContext | context |
Returns
Type | Description |
---|---|
Task<TResponse> |
Type Parameters
Name | Description |
---|---|
TRequest | Request message type for this method. |
TResponse | Response message type for this method. |