Package io.servicetalk.grpc.api
Interface GrpcClientCallFactory.ClientCall<Req,Resp>
-
- Type Parameters:
Req- Type of request.Resp- Type of response.
- Enclosing interface:
- GrpcClientCallFactory
public static interface GrpcClientCallFactory.ClientCall<Req,Resp>An abstraction to make asynchronous client calls.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Single<Resp>request(GrpcClientMetadata metadata, Req request)Sends the passedGrpcClientCallFactory.ClientCall.
-
-
-
Method Detail
-
request
Single<Resp> request(GrpcClientMetadata metadata, Req request)
Sends the passedGrpcClientCallFactory.ClientCall.- Parameters:
metadata-GrpcClientMetadatafor the request.request-GrpcClientCallFactory.ClientCallto send.- Returns:
Singlecontaining the response.
-
-