Click or drag to resize

ClientStreamingServerMethodTRequest, TResponse Delegate

Server-side handler for client streaming call.

Namespace:  Grpc.Core
Assembly:  Grpc.Core (in Grpc.Core.dll) Version: 1.2.0-dev
Syntax
public delegate Task<TResponse> ClientStreamingServerMethod<TRequest, TResponse>(
	IAsyncStreamReader<TRequest> requestStream,
	ServerCallContext context
)
where TRequest : class
where TResponse : class

Parameters

requestStream
Type: Grpc.CoreIAsyncStreamReaderTRequest
context
Type: Grpc.CoreServerCallContext

Type Parameters

TRequest
Request message type for this method.
TResponse
Response message type for this method.

Return Value

Type: TaskTResponse
See Also