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