mirror of
https://github.com/Prominence/openweathermap-java-api.git
synced 2026-07-03 03:06:45 +03:00
Updated docs about timeout settings.
This commit is contained in:
@@ -34,6 +34,13 @@ Currently, available APIs are:
|
|||||||
* `oneCall()`
|
* `oneCall()`
|
||||||
* `airPollution()`
|
* `airPollution()`
|
||||||
|
|
||||||
|
Also, it is possible to set timeouts for the requests on `openWeatherClient` object:
|
||||||
|
```java
|
||||||
|
openWeatherClient.setReadTimeout(1000);
|
||||||
|
openWeatherClient.setConnectTimeout(1000);
|
||||||
|
```
|
||||||
|
Timeout settings are passed to the requesters as a copy.
|
||||||
|
|
||||||
Default(more or less) customization points:
|
Default(more or less) customization points:
|
||||||
```java
|
```java
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user