Package io.servicetalk.grpc.api
Interface GrpcClientCallFactory.ResponseStreamingClientCall<Req,Resp>
-
- Type Parameters:
Req- Type of request.Resp- Type of response.
- Enclosing interface:
- GrpcClientCallFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface GrpcClientCallFactory.ResponseStreamingClientCall<Req,Resp>An abstraction to make asynchronous client calls where response is streaming.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Publisher<Resp>request(GrpcClientMetadata metadata, Req request)Sends the passedGrpcClientCallFactory.ResponseStreamingClientCall.
-
-
-
Method Detail
-
request
Publisher<Resp> request(GrpcClientMetadata metadata, Req request)
Sends the passedGrpcClientCallFactory.ResponseStreamingClientCall.- Parameters:
metadata-GrpcClientMetadatafor the request.request-GrpcClientCallFactory.ResponseStreamingClientCallto send.- Returns:
Publishercontaining the streaming response.
-
-