//okhttp/okhttp3/Interceptor/Chain
Chain¶
[jvm]\ interface Chain
Functions¶
Name | Summary |
---|---|
call | [jvm] abstract fun call(): Call |
connection | [jvm] 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. |
connectTimeoutMillis | [jvm] abstract fun connectTimeoutMillis(): Int |
proceed | [jvm] abstract fun proceed(request: Request): Response |
readTimeoutMillis | [jvm] abstract fun readTimeoutMillis(): Int |
request | [jvm] abstract fun request(): Request |
withConnectTimeout | [jvm] abstract fun withConnectTimeout(timeout: Int, unit: TimeUnit): Interceptor.Chain |
withReadTimeout | [jvm] abstract fun withReadTimeout(timeout: Int, unit: TimeUnit): Interceptor.Chain |
withWriteTimeout | [jvm] abstract fun withWriteTimeout(timeout: Int, unit: TimeUnit): Interceptor.Chain |
writeTimeoutMillis | [jvm] abstract fun writeTimeoutMillis(): Int |