Package-level declarations

Types

Link copied to clipboard
class RetryInterceptor(maxRetryCount: Int, baseRetryDelayMillis: Long) : Interceptor

An interceptor for retrying network requests in case of certain retryable exceptions. The interceptor retries the request up to a maximum retry count with an increasing delay between attempts.

Properties

Link copied to clipboard
const val HTTP_SUCCESS_STATUS_CODE: Int = 200
Link copied to clipboard

Functions

Link copied to clipboard
fun HttpLogLevel.toLoggingInterceptorLogLevel(): HttpLoggingInterceptor.Level