State - The state type to use.@FunctionalInterface
public interface ClientInvoker<State>
HttpRequestMetaData, payload and
trailers, for the passed StreamingHttpRequest returns a Single.| Modifier and Type | Method and Description |
|---|---|
Single<StreamingHttpResponse> |
invokeClient(Publisher<Object> objectPublisher,
State state)
Invokes the client.
|
Single<StreamingHttpResponse> invokeClient(Publisher<Object> objectPublisher, @Nullable State state)
objectPublisher - flattened stream of HttpRequestMetaData, payload and trailers.state - the state to pass.Single of the StreamingHttpResponse.