Delegate ClientStreamingServerMethod<TRequest, TResponse>

public delegate Task<TResponse> ClientStreamingServerMethod<TRequest, TResponse>(IAsyncStreamReader<TRequest> requestStream, ServerCallContext context)
    where TRequest : class where TResponse : class;

Server-side handler for client streaming call.

Namespace

Grpc.Core

Assembly

Grpc.Core.Api.dll

Parameters

TypeNameDescription
IAsyncStreamReader<TRequest>requestStream
ServerCallContextcontext

Returns

TypeDescription
Task<TResponse>

Type Parameters

NameDescription
TRequest

Request message type for this method.

TResponse

Response message type for this method.