Chain

interface Chain

Functions

Link copied to clipboard
abstract fun call(): Call
Link copied to clipboard
abstract fun connection(): 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.

Link copied to clipboard
abstract fun connectTimeoutMillis(): Int
Link copied to clipboard
abstract fun proceed(request: Request): Response
Link copied to clipboard
abstract fun readTimeoutMillis(): Int
Link copied to clipboard
abstract fun request(): Request
Link copied to clipboard
abstract fun withConnectTimeout(timeout: Int, unit: <Error class: unknown class>): Interceptor.Chain
Link copied to clipboard
abstract fun withReadTimeout(timeout: Int, unit: <Error class: unknown class>): Interceptor.Chain
Link copied to clipboard
abstract fun withWriteTimeout(timeout: Int, unit: <Error class: unknown class>): Interceptor.Chain
Link copied to clipboard
abstract fun writeTimeoutMillis(): Int