Skip to content

Commit 0d25ec0

Browse files
docs(readme): add link to possible http config options
1 parent 4809999 commit 0d25ec0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,10 @@ System.out.println("Response header names: " + responseHeaders.names());
283283

284284
### Configuring the HTTP client
285285

286-
The HTTP client can be configured by using the `setProxy()` method on your authenticator and using the `configureClient()` method on your service object, passing in an `HttpConfigOptions` object. Currently, the following options are supported:
286+
The HTTP client can be configured by using the `setProxy()` method on your authenticator and using the `configureClient()` method on your service object, passing in an `HttpConfigOptions` object. For a full list of configurable options look at this linked Builder class for [HttpConfigOptions](https://github.com/IBM/java-sdk-core/blob/c053e1ccf4bc4267b0ce0be5538564fac088f57b/src/main/java/com/ibm/cloud/sdk/core/http/HttpConfigOptions.java#L95). Currently, the following options are supported:
287287
- Disabling SSL verification (only do this if you really mean to!) ⚠️
288+
- Setting gzip compression
289+
- Setting max retry and retry interval
288290
- Using a proxy (more info here: [OkHTTPClient Proxy authentication how to?](https://stackoverflow.com/a/35567936/456564))
289291
- Setting HTTP logging verbosity
290292

0 commit comments

Comments
 (0)