mirror of
https://github.com/square/okhttp.git
synced 2025-07-29 17:41:17 +03:00
Update README files to 4.9.1 (#6617)
This commit is contained in:
@ -6,7 +6,7 @@ This module integrates mockwebserver3.MockWebServer with JUnit 4.
|
||||
To use, first add this library as a test dependency:
|
||||
|
||||
```
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:4.9.0")
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:4.9.1")
|
||||
```
|
||||
|
||||
Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation:
|
||||
|
@ -6,7 +6,7 @@ This module integrates mockwebserver3.MockWebServer with JUnit 5.
|
||||
To use, first add this library as a test dependency:
|
||||
|
||||
```
|
||||
testRuntimeOnly("com.squareup.okhttp3:mockwebserver3-junit5:4.9.0")
|
||||
testRuntimeOnly("com.squareup.okhttp3:mockwebserver3-junit5:4.9.1")
|
||||
```
|
||||
|
||||
Then in tests annotated `@org.junit.jupiter.api.Test`, you may add a [MockWebServer] as a test
|
||||
|
@ -142,7 +142,7 @@ server.setDispatcher(dispatcher);
|
||||
### Download
|
||||
|
||||
```kotlin
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver:4.9.0")
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver:4.9.1")
|
||||
```
|
||||
|
||||
### License
|
||||
|
@ -14,7 +14,7 @@ OkHttpClient client = new OkHttpClient.Builder()
|
||||
```
|
||||
|
||||
```kotlin
|
||||
implementation("com.squareup.okhttp3:okhttp-brotli:4.9.0")
|
||||
implementation("com.squareup.okhttp3:okhttp-brotli:4.9.1")
|
||||
```
|
||||
|
||||
[1]: https://github.com/google/brotli
|
||||
|
@ -6,7 +6,7 @@ This module is an implementation of [DNS over HTTPS][1] using OkHttp.
|
||||
### Download
|
||||
|
||||
```kotlin
|
||||
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.9.0")
|
||||
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.9.1")
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
@ -37,7 +37,7 @@ Download
|
||||
--------
|
||||
|
||||
```kotlin
|
||||
implementation("com.squareup.okhttp3:logging-interceptor:4.9.0")
|
||||
implementation("com.squareup.okhttp3:logging-interceptor:4.9.1")
|
||||
```
|
||||
|
||||
|
||||
|
@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
|
||||
### Download
|
||||
|
||||
```kotlin
|
||||
testImplementation("com.squareup.okhttp3:okhttp-sse:4.9.0")
|
||||
testImplementation("com.squareup.okhttp3:okhttp-sse:4.9.1")
|
||||
```
|
||||
|
@ -227,7 +227,7 @@ Download
|
||||
--------
|
||||
|
||||
```kotlin
|
||||
implementation("com.squareup.okhttp3:okhttp-tls:4.9.0")
|
||||
implementation("com.squareup.okhttp3:okhttp-tls:4.9.1")
|
||||
```
|
||||
|
||||
[held_certificate]: http://square.github.io/okhttp/4.x/okhttp-tls/okhttp3.tls/-held-certificate/
|
||||
|
@ -6,5 +6,5 @@ This module integrates OkHttp with `Authenticator` and `CookieHandler` from `jav
|
||||
### Download
|
||||
|
||||
```kotlin
|
||||
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.9.0")
|
||||
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.9.1")
|
||||
```
|
||||
|
Reference in New Issue
Block a user