ServerStreamingServerMethodTRequest, TResponse Delegate |
Server-side handler for server streaming call.
Namespace: Grpc.CoreAssembly: Grpc.Core (in Grpc.Core.dll) Version: 0.6.1.0
Syntaxpublic delegate Task ServerStreamingServerMethod<TRequest, TResponse>(
TRequest request,
IServerStreamWriter<TResponse> responseStream,
ServerCallContext context
)
where TRequest : class
where TResponse : class
Public Delegate Function ServerStreamingServerMethod(Of TRequest As Class, TResponse As Class) (
request As TRequest,
responseStream As IServerStreamWriter(Of TResponse),
context As ServerCallContext
) As Task
generic<typename TRequest, typename TResponse>
where TRequest : ref class
where TResponse : ref class
public delegate Task^ ServerStreamingServerMethod(
TRequest request,
IServerStreamWriter<TResponse>^ responseStream,
ServerCallContext^ context
)
type ServerStreamingServerMethod =
delegate of
request : 'TRequest *
responseStream : IServerStreamWriter<'TResponse> *
context : ServerCallContext -> Task
Parameters
- request
- Type: TRequest
- responseStream
- Type: Grpc.CoreIServerStreamWriterTResponse
- context
- Type: Grpc.CoreServerCallContext
Type Parameters
- TRequest
- Request message type for this method.
- TResponse
- Response message type for this method.
Return Value
Type:
Task
See Also