Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for cacheResponse (0.21 sec)

  1. CHANGELOG.md

        )
        ```
    
     *  New: `Response.body` is now non-null. This was generally the case in OkHttp 4.x, but the Kotlin
        type declaration was nullable to support rare cases like the body on `Response.cacheResponse`,
        `Response.networkResponse`, and `Response.priorResponse`. In such cases the body is now
        non-null, but attempts to read its content will fail.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       * Response is available.
       *
       * This event will only be received when a Cache is configured for the client.
       */
      open fun cacheConditionalHit(
        call: Call,
        cachedResponse: Response,
      ) {
      }
    
      fun interface Factory {
        /**
         * Creates an instance of the [EventListener] for a particular [Call]. The returned
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top