Delegate ServerStreamingServerMethod<TRequest, TResponse> (2.48.0)

public delegate Task ServerStreamingServerMethod<TRequest, TResponse>(TRequest request, IServerStreamWriter<TResponse> responseStream, ServerCallContext context)
    where TRequest : class where TResponse : class;

Server-side handler for server streaming call.

Namespace

Grpc.Core

Assembly

Grpc.Core.Api.dll

Parameters

Name Description
request TRequest
responseStream IServerStreamWriter<TResponse>
context ServerCallContext

Returns

Type Description
Task

Type Parameters

Name Description
TRequest

Request message type for this method.

TResponse

Response message type for this method.