Click or drag to resize
CallsBlockingUnaryCallTRequest, TResponse Method
Invokes a simple remote call in a blocking fashion.

Namespace: Grpc.Core
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 0.7.0.0
Syntax
public static TResponse BlockingUnaryCall<TRequest, TResponse>(
	CallInvocationDetails<TRequest, TResponse> call,
	TRequest req
)
where TRequest : class
where TResponse : class

Parameters

call
Type: Grpc.CoreCallInvocationDetailsTRequest, TResponse
The call defintion.
req
Type: TRequest
Request message.

Type Parameters

TRequest
Type of request message.
TResponse
The of response message.

Return Value

Type: TResponse
The response.
See Also