- Enclosing interface:
- MethodHandler<ReqT,
RespT>
public static interface MethodHandler.ClientStreaming
A client streaming client call handler.
-
Method Summary
Modifier and TypeMethodDescription<ReqT,
RespT>
io.grpc.stub.StreamObserver<ReqT>clientStreaming
(String methodName, io.grpc.stub.StreamObserver<RespT> observer) Perform a client streaming client call.
-
Method Details
-
clientStreaming
<ReqT,RespT> io.grpc.stub.StreamObserver<ReqT> clientStreaming(String methodName, io.grpc.stub.StreamObserver<RespT> observer) Perform a client streaming 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
-