Interface MethodHandler.ClientStreaming

Enclosing interface:
MethodHandler<ReqT,RespT>

public static interface MethodHandler.ClientStreaming
A client streaming client call handler.
  • Method Summary

    Modifier and Type
    Method
    Description
    <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 type
      RespT - the response type
      Parameters:
      methodName - the name of the gRPC method
      observer - the StreamObserver that will receive the responses
      Returns:
      a StreamObserver to use to send requests