Click or drag to resize

UnaryServerMethodTRequest, TResponse Delegate

Server-side handler for unary call.

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

Parameters

request
Type: TRequest
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