PXTimeoutInterceptor

class PXTimeoutInterceptor(connectTimeoutMillis: Int? = null, readTimeoutMillis: Int? = null, writeTimeoutMillis: Int? = null) : Interceptor

This class is a basic usage for Timeout interceptor. The interceptor limits the chain to given time provided in the constructor.

NOTICE: This is not a replacement for PXInterceptor class!

Constructors

Link copied to clipboard
constructor(connectTimeoutMillis: Int? = null, readTimeoutMillis: Int? = null, writeTimeoutMillis: Int? = null)

Functions

Link copied to clipboard
open override fun intercept(chain: Interceptor.Chain): Response