Skip to content

Commit 2043643

Browse files
docs: README.md file updated with the 2.8.9 version.
1 parent 2d257be commit 2043643

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencyResolutionManagement {
4848
```gradle
4949
// Add this dependency to your build.gradle.kts (module) :
5050
dependencies {
51-
implementation("com.github.muhammadzkralla:ZHttp:2.8.8")
51+
implementation("com.github.muhammadzkralla:ZHttp:2.8.9")
5252
}
5353
```
5454

@@ -69,7 +69,7 @@ If you are using `Maven` :
6969
<dependency>
7070
<groupId>com.github.muhammadzkralla</groupId>
7171
<artifactId>ZHttp</artifactId>
72-
<version>2.8.8</version>
72+
<version>2.8.9</version>
7373
</dependency>
7474
```
7575

@@ -102,17 +102,20 @@ val client = ZHttpClient.Builder()
102102

103103
```
104104

105-
You can also specify the connection and the read time out periods : <br>
105+
You can also specify the connection and the read time out periods and allow logging in console : <br>
106106

107107
```kotlin
108108
// Setting the connection and the read time out periods to 20 seconds.
109109
val client = ZHttpClient.Builder()
110110
.baseUrl(BASE_URL)
111111
.connectionTimeout(20000)
112112
.readTimeout(20000)
113+
.allowLogging(true)
113114
.build()
114115

115116
```
117+
> **Note:**
118+
> There's no logger configured for now. Logging is just `println()` and `System.err.println()` for now until adding a logger for all platforms, and it's disabled by default.
116119
117120
You can also add some default headers, these headers will be automatically included on each request made with this client instance : <br>
118121

0 commit comments

Comments
 (0)