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