Click or drag to resize
CallsAsyncUnaryCallTRequest, TResponse Method
Invokes a simple remote call asynchronously.

Namespace: Grpc.Core
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 0.6.1.0
Syntax
public static AsyncUnaryCall<TResponse> AsyncUnaryCall<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: AsyncUnaryCallTResponse
An awaitable call object providing access to the response.
See Also