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