public class NetworkHttp extends Http implements NetworkRepository
client, objectMapper, url| Constructor and Description |
|---|
NetworkHttp(java.lang.String host) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<NetworkType> |
getNetworkType()
Get current network type.
|
public NetworkHttp(java.lang.String host)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic io.reactivex.Observable<NetworkType> getNetworkType()
NetworkRepositorygetNetworkType in interface NetworkRepository