Package io.helidon.grpc.core
Interface MethodHandler.UnaryClient
-
- Enclosing interface:
- MethodHandler<ReqT,RespT>
public static interface MethodHandler.UnaryClientA unary client call handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <ReqT,RespT>
CompletionStage<RespT>unary(String methodName, ReqT request)Perform a unary client call.
-
-
-
Method Detail
-
unary
<ReqT,RespT> CompletionStage<RespT> unary(String methodName, ReqT request)
Perform a unary client call.- Type Parameters:
ReqT- the request typeRespT- the response type- Parameters:
methodName- the name of the gRPC methodrequest- the request message- Returns:
- a
CompletableFuturethat completes when the call completes
-
-