Package io.servicetalk.grpc.api
Interface GrpcClientCallFactory.StreamingClientCall<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.
An abstraction to make asynchronous bi-directional streaming client calls.
-
Method Summary
Modifier and TypeMethodDescriptionrequest(GrpcClientMetadata metadata, Publisher<Req> request) Sends the passedPublisherofGrpcClientCallFactory.StreamingClientCall.
-
Method Details
-
request
Sends the passedPublisherofGrpcClientCallFactory.StreamingClientCall.- Parameters:
metadata-GrpcClientMetadatafor the request.request-PublisherofGrpcClientCallFactory.StreamingClientCallto send.- Returns:
Publishercontaining the streaming response.
-