Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SnorSnor9998 authored Mar 26, 2024
1 parent 1e315ef commit 4ebee40
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ repositories {
}

dependencies {
implementation("io.revenuemonster.sdk:rm-kotlin-sdk:2.0.1")
implementation("io.revenuemonster.sdk:rm-kotlin-sdk:2.1.0")
}
```
⚠ Don't forget to implement ⚠</br>
Expand Down Expand Up @@ -110,6 +110,18 @@ GlobalScope.launch {
}
```

## Version 2.1.0 onward

Starting from version 2.1.0 onward, users will have the ability to manually set the timeout or socket timeout. </br>
By default, the request timeout will be set to 95 seconds (95000L), and the socket timeout will be set to 60 seconds (60000L).

```kotlin
sdk.setTimeout(
timeout = 120000L,
socketTimeout = 120000L
)
```

## 📄 License

[MIT](https://github.com/RevenueMonster/rm-kotlin-sdk/blob/main/LICENSE)

0 comments on commit 4ebee40

Please sign in to comment.