Delegate ServerStreamingServerMethod<TRequest, TResponse>
Server-side handler for server streaming call.
Namespace: Grpc.Core
Assembly: Grpc.Core.Api.dll
Syntax
public delegate Task ServerStreamingServerMethod<TRequest, TResponse>(TRequest request, IServerStreamWriter<TResponse> responseStream, ServerCallContext context)
where TRequest : class where TResponse : class;
Parameters
| Type | Name | Description |
|---|---|---|
| TRequest | request | |
| IServerStreamWriter<TResponse> | responseStream | |
| ServerCallContext | context |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Type Parameters
| Name | Description |
|---|---|
| TRequest | Request message type for this method. |
| TResponse | Response message type for this method. |