invoke<T extends GeneratedMessage> abstract method
Future<T>
invoke<T extends GeneratedMessage>(
- ClientContext? ctx,
- String serviceName,
- String methodName,
- GeneratedMessage request,
- T emptyResponse
Sends a request to a server and returns the reply.
The implementation should serialize the request as binary or JSON, as
appropriate. It should merge the reply into emptyResponse
and
return it.
Implementation
Future<T> invoke<T extends GeneratedMessage>(
ClientContext? ctx,
String serviceName,
String methodName,
GeneratedMessage request,
T emptyResponse);