SpotifyConfig

constructor(requestTimeoutMillis: Long, connectTimeoutMillis: Long, socketTimeoutMillis: Long, retry: SpotifyRetryConfig = SpotifyRetryConfig())

Parameters

requestTimeoutMillis

Overall time allowed to process an HTTP call end-to-end.

connectTimeoutMillis

Time allowed to establish a connection with the server.

socketTimeoutMillis

Maximum inactivity time between two data packets.

retry

Retry policy applied to failed requests. See SpotifyRetryConfig.