From 5793722181061c2ae345c849f40faad80e96e58b Mon Sep 17 00:00:00 2001 From: Prominence Date: Fri, 15 Apr 2022 00:40:51 +0300 Subject: [PATCH] Updated docs about timeout settings. --- docs/SNAPSHOT.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/SNAPSHOT.md b/docs/SNAPSHOT.md index 7e330a9..c0a8a22 100644 --- a/docs/SNAPSHOT.md +++ b/docs/SNAPSHOT.md @@ -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 ...