Delegate ServerStreamingServerMethod<TService, TRequest, TResponse>
Server-side handler for a server streaming call.
Namespace: Grpc.AspNetCore.Server.Model
Assembly: Grpc.AspNetCore.Server.dll
Syntax
public delegate Task ServerStreamingServerMethod<TService, TRequest, TResponse>(TService service, TRequest request, IServerStreamWriter<TResponse> stream, ServerCallContext serverCallContext);
Parameters
Type | Name | Description |
---|---|---|
TService | service | The service instance. |
TRequest | request | The request message. |
IServerStreamWriter<TResponse> | stream | A |
ServerCallContext | serverCallContext | The |
Returns
Type | Description |
---|---|
Task | A task that represents the completion of the call. |
Type Parameters
Name | Description |
---|---|
TService | Service type for this method. |
TRequest | Request message type for this method. |
TResponse | Response message type for this method. |