public final class Client extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Client.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Client.Builder |
get(String url)
Returns a Builder for an over-network
Flowable. |
static Client.Builder |
post(String url)
Returns a Builder for an over-network
Flowable. |
static io.reactivex.Flowable<ByteBuffer> |
read(io.reactivex.Single<InputStream> inSource,
io.reactivex.functions.BiConsumer<Long,Long> requester) |
public static Client.Builder get(String url)
Flowable. The HTTP verb used
with the url will be GET.url - location of the stream to connect to using HTTP GETFlowablepublic static Client.Builder post(String url)
Flowable. The HTTP verb used
with the url will be POST.url - location of the stream to connect to using HTTP POSTFlowablepublic static io.reactivex.Flowable<ByteBuffer> read(io.reactivex.Single<InputStream> inSource, io.reactivex.functions.BiConsumer<Long,Long> requester)
Copyright © 2018–2019. All rights reserved.