Module io.helidon.grpc.core
Package io.helidon.grpc.core
Interface MethodHandler.BidirectionalClient
- Enclosing interface:
- MethodHandler<ReqT,
RespT>
public static interface MethodHandler.BidirectionalClient
A bidirectional client call handler.
-
Method Summary
Modifier and TypeMethodDescription<ReqT,
RespT>
io.grpc.stub.StreamObserver<ReqT>bidiStreaming
(String methodName, io.grpc.stub.StreamObserver<RespT> observer) Perform a bidirectional client call.
-
Method Details
-
bidiStreaming
<ReqT,RespT> io.grpc.stub.StreamObserver<ReqT> bidiStreaming(String methodName, io.grpc.stub.StreamObserver<RespT> observer) Perform a bidirectional client call.- Type Parameters:
ReqT
- the request typeRespT
- the response type- Parameters:
methodName
- the name of the gRPC methodobserver
- theStreamObserver
that will receive the responses- Returns:
- a
StreamObserver
to use to send requests
-