Config
Library configuration options.
Constructors
Types
HTTP cache is off by default, but can speed up requests significantly. The Develocity API disallows HTTP caching, but this library forcefully enables it by overwriting cache-related headers in API responses. Enable with cacheEnabled.
Properties
See CacheConfig.
OkHttpClient.Builder to use when building the library's internal OkHttpClient.
Maximum amount of concurrent requests allowed. Further requests will be queued. By default, uses environment variable DEVELOCITY_API_MAX_CONCURRENT_REQUESTS
or 5 (OkHttp's default value of Dispatcher.maxRequestsPerHost).
Timeout for reading an API response, used for OkHttpClient.readTimeoutMillis. By default, uses environment variable DEVELOCITY_API_READ_TIMEOUT_MILLIS
or 60_000. Keep in mind that Develocity API responses can be big and slow to send depending on the endpoint.