Req
- Type of request.Resp
- Type of response.public static interface GrpcClientCallFactory.BlockingStreamingClientCall<Req,Resp>
Modifier and Type | Method and Description |
---|---|
BlockingIterable<Resp> |
request(GrpcClientMetadata metadata,
java.lang.Iterable<Req> request)
Sends the passed
BlockingIterable of Req . |
BlockingIterable<Resp> request(GrpcClientMetadata metadata, java.lang.Iterable<Req> request) throws java.lang.Exception
BlockingIterable
of Req
.metadata
- GrpcClientMetadata
for the request.request
- BlockingIterable
of Req
to send.BlockingIterable
containing the streaming response.java.lang.Exception
- if an exception occurs during the request processing.