Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for notes (0.13 sec)

  1. docs/changelogs/changelog_4x.md

        containing an IP address we must match that address against the URL's IP address, even when the
        two addresses are encoded differently, such as `192.168.1.1` and `0::0:0:FFFF:C0A8:101`. Note
        that OkHttp incorrectly rejected valid certificates resulting in a failure to connect; at no
        point were invalid certificates accepted.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

          }
        }
      }
    
      /**
       * Prepare for a potential trip through all of this call's network interceptors. This prepares to
       * find an exchange to carry the request.
       *
       * Note that an exchange will not be needed if the request is satisfied by the cache.
       *
       * @param newRoutePlanner true if this is not a retry and new routing can be performed.
       */
      fun enterNetworkInterceptorExchange(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  3. CHANGELOG.md

        ```
    
    Note that this was originally released on 2020-10-06 as 4.10.0-RC1. The only change from that
    release is the version name.
    
    
    [Ktor]: https://ktor.io/
    [assertk]: https://github.com/willowtreeapps/assertk
    [graalvm]: https://www.graalvm.org/
    [graalvm_21]: https://www.graalvm.org/release-notes/21_0/
    [graalvm_22]: https://www.graalvm.org/release-notes/22_2/
    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)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

       * cache size. The application needs to be aware of calling this function during the
       * initialization phase and preferably in a background worker thread.
       *
       * Note that if the application chooses to not call this method to initialize the cache. By
       * default, OkHttp will perform lazy initialization upon the first usage of the cache.
       */
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

    import okio.buffer
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    @Tag("Slow")
    class RealWebSocketTest {
      // NOTE: Fields are named 'client' and 'server' for cognitive simplicity. This differentiation has
      // zero effect on the behavior of the WebSocket API which is why tests are only written once
      // from the perspective of a single peer.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Request.kt

          value: String,
        ) = commonHeader(name, value)
    
        /**
         * Adds a header with [name] and [value]. Prefer this method for multiply-valued
         * headers like "Cookie".
         *
         * Note that for some headers including `Content-Length` and `Content-Encoding`,
         * OkHttp may replace [value] with a header derived from the request body.
         */
        open fun addHeader(
          name: String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

        }
    
        fun build(): CacheControl = commonBuild()
      }
    
      companion object {
        /**
         * Cache control request directives that require network validation of responses. Note that such
         * requests may be assisted by the cache via conditional GET requests.
         */
        @JvmField
        val FORCE_NETWORK = commonForceNetwork()
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("abc")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    
        // Note that although we have two routes available, we only use one. The retry is permitted
        // because there are routes available, but it chooses the existing connection since it isn't
        // yet considered unhealthy.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

            field = maxRequests
          }
          promoteAndExecute()
        }
    
      /**
       * The maximum number of requests for each host to execute concurrently. This limits requests by
       * the URL's host name. Note that concurrent requests to a single IP address may still exceed this
       * limit: multiple hostnames may share an IP address or be routed through the same HTTP proxy.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      private var reader: WebSocketReader? = null
    
      // All mutable web socket state is guarded by this.
    
      /** Null until this web socket is connected. Note that messages may be enqueued before that. */
      private var writer: WebSocketWriter? = null
    
      /** Used for writes, pings, and close timeouts. */
      private var taskQueue = taskRunner.newQueue()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top