Package io.servicetalk.grpc.api
Interface GrpcClientCallFactory.StreamingClientCall<Req,Resp>
-
- Type Parameters:
Req
- Type of request.Resp
- Type of response.
- Enclosing interface:
- GrpcClientCallFactory
public static interface GrpcClientCallFactory.StreamingClientCall<Req,Resp>
An abstraction to make asynchronous bi-directional streaming client calls.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Publisher<Resp>
request(GrpcClientMetadata metadata, Publisher<Req> request)
Sends the passedPublisher
ofGrpcClientCallFactory.StreamingClientCall
.
-
-
-
Method Detail
-
request
Publisher<Resp> request(GrpcClientMetadata metadata, Publisher<Req> request)
Sends the passedPublisher
ofGrpcClientCallFactory.StreamingClientCall
.- Parameters:
metadata
-GrpcClientMetadata
for the request.request
-Publisher
ofGrpcClientCallFactory.StreamingClientCall
to send.- Returns:
Publisher
containing the streaming response.
-
-