Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for everything (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

         */
        fun protocols(protocols: List<Protocol>) =
          apply {
            // Create a private copy of the list.
            val protocolsCopy = protocols.toMutableList()
    
            // Validate that the list has everything we require and nothing we forbid.
            require(Protocol.H2_PRIOR_KNOWLEDGE in protocolsCopy || HTTP_1_1 in protocolsCopy) {
              "protocols must contain h2_prior_knowledge or http/1.1: $protocolsCopy"
            }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

            // Absolute path: reset to the default "/".
            encodedPathSegments.clear()
            encodedPathSegments.add("")
            pos++
          } else {
            // Relative path: clear everything after the last '/'.
            encodedPathSegments[encodedPathSegments.size - 1] = ""
          }
    
          // Read path segments.
          var i = pos
          while (i < limit) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        `MultipartBody`, `MultipartBody.Part`, and `MultipartBody.Builder`.
    
     *  **The Apache HTTP client and HttpURLConnection APIs are deprecated.** They
        continue to work as they always have, but we're moving everything to the new
        OkHttp 3 API. The `okhttp-apache` and `okhttp-urlconnection` modules should
        be only be used to accelerate a transition to OkHttp's request/response API.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top