ClientOptions

A class representing the SDK client configuration.

Types

Link copied to clipboard
class Builder

A builder for ClientOptions.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Whether to throw an exception if any of the Jackson versions detected at runtime are incompatible with the SDK's minimum supported Jackson version (2.13.4).

Link copied to clipboard

The clock to use for operations that require timing, like retries.

Link copied to clipboard

Headers to send with the request.

Link copied to clipboard

The HTTP client to use in the SDK.

Link copied to clipboard
val jsonMapper: JsonMapper

The Jackson JSON mapper to use for serializing and deserializing JSON.

Link copied to clipboard

The maximum number of times to retry failed requests, with a short exponential backoff between requests.

Link copied to clipboard

Query params to send with the request.

Link copied to clipboard

Whether to call validate on every response before returning it.

Link copied to clipboard

Sets the maximum time allowed for various parts of an HTTP call's lifecycle, excluding retries.

Link copied to clipboard

Functions

Link copied to clipboard

The base URL to use for every request.

Link copied to clipboard
fun close()

Closes these client options, relinquishing any underlying resources.

Link copied to clipboard