Skip to main content

Module options

Module options 

Source
Expand description

Client configuration and per request options.

While the client library defaults are intended to work for most applications, it is sometimes necessary to change the configuration. Notably the default endpoint, and the default authentication credentials do not work for some applications.

Likewise, applications may need to customize the behavior of some calls made via a client, even a customized one. Applications sometimes change the timeout for an specific call, or change the retry configuration. The *Builder returned by each client method implements the RequestOptionsBuilder trait where applications can override some defaults.

Structs§

RequestOptions
A set of options configuring a single request.

Traits§

RequestOptionsBuilder
Implementations of this trait provide setters to configure request options.