Skip to content

Overview

//trimble-id/com.trimble.id/HttpClientConfiguration

HttpClientConfiguration

[JVM]
open class HttpClientConfiguration

Configuration for the HttpClient. The code retries if the response status code is in the 5xx range. This indicates server-side errors, such as internal server errors, bad gateway, service unavailable, etc. The code retries if an IOException occurs during the request. This can happen due to network issues, timeouts, or other I/O problems.

Constructors

HttpClientConfiguration[JVM]
constructor()

Properties

NameSummary
httpTimeout[JVM]
open var httpTimeout: Duration
Timeout used for Http calls.
retries[JVM]
open var retries: Int
Number of retries for HTTP calls with a retry-able response.
retryInterval[JVM]
open var retryInterval: Duration
Time to wait between retries.