Updated docs about timeout settings.

This commit is contained in:
Prominence 2022-04-15 00:40:51 +03:00
parent 40462397c1
commit 5793722181

View File

@ -34,6 +34,13 @@ Currently, available APIs are:
* `oneCall()`
* `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:
```java
...