Skip to content

Commit

Permalink
Update README.md (#1374)
Browse files Browse the repository at this point in the history
Add missing parentheses in the OkHttp description.
  • Loading branch information
SAlavizadeh authored Nov 11, 2022
1 parent 7867917 commit 9aaf58e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ The `logbook-okhttp2` module contains an `Interceptor` to use with version 2.x o

```java
OkHttpClient client = new OkHttpClient();
client.networkInterceptors().add(new LogbookInterceptor(logbook);
client.networkInterceptors().add(new LogbookInterceptor(logbook));
```

If you're expecting gzip-compressed responses you need to register our `GzipInterceptor` in addition.
Expand All @@ -731,7 +731,7 @@ logbook to log compressed binary responses.

```java
OkHttpClient client = new OkHttpClient();
client.networkInterceptors().add(new LogbookInterceptor(logbook);
client.networkInterceptors().add(new LogbookInterceptor(logbook));
client.networkInterceptors().add(new GzipInterceptor());
```

Expand Down

0 comments on commit 9aaf58e

Please sign in to comment.