okhttp / okhttp3 / Interceptor / Chain

Chain

interface Chain

Functions

Name Summary
call abstract fun call():Call
connection Returns the connection the request will be executed on. This is only available in the chains of network interceptors; for application interceptors this is always null.abstract fun connection():Connection?
connectTimeoutMillis abstract fun connectTimeoutMillis():Int
proceed abstract fun proceed(request:Request):Response
readTimeoutMillis abstract fun readTimeoutMillis():Int
request abstract fun request():Request
withConnectTimeout abstract fun withConnectTimeout(timeout:Int, unit:TimeUnit): Chain
withReadTimeout abstract fun withReadTimeout(timeout:Int, unit:TimeUnit): Chain
withWriteTimeout abstract fun withWriteTimeout(timeout:Int, unit:TimeUnit): Chain
writeTimeoutMillis abstract fun writeTimeoutMillis():Int