Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for cout (0.12 sec)

  1. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

        private fun List<String?>.toQueryString(out: StringBuilder) {
          for (i in 0 until size step 2) {
            val name = this[i]
            val value = this[i + 1]
            if (i > 0) out.append('&')
            out.append(name)
            if (value != null) {
              out.append('=')
              out.append(value)
            }
          }
        }
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  2. docs/changelogs/changelog_3x.md

         com.squareup.okio:okio:1.14.0
         ```
    
     *  Fix: Handle `HTTP/1.1 100 Continue` status lines, even on requests that did
        not send the `Expect: continue` request header.
     *  Fix: Do not count web sockets toward the dispatcher's per-host connection
        limit.
     *  Fix: Avoid using invalid HTTPS sessions. This prevents OkHttp from crashing
        with the error, `Unexpected TLS version: NONE`.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            .build()
    
        // Stalling the socket will cause TWO requests to time out!
        server.enqueue(MockResponse(socketPolicy = StallSocketAtStart))
    
        // The 3rd request should be sent to a fresh connection.
        server.enqueue(
          MockResponse(body = "fresh connection"),
        )
    
        // The first call times out.
        val call1 = client.newCall(Request(server.url("/")))
        assertFailsWith<IOException> {
    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)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          this.certificatePinner =
            builder.certificatePinner
              .withCertificateChainCleaner(certificateChainCleaner!!)
        }
    
        verifyClientState()
      }
    
      /**
       * Creates an [Address] of out of the provided [HttpUrl]
       * that uses this client’s DNS, TLS, and proxy configuration.
       */
      fun address(url: HttpUrl): Address {
        var useSslSocketFactory: SSLSocketFactory? = null
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/EventListenerTest.kt

              .url(server.url("/"))
              .build(),
          )
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isIn("timeout", "Read timed out")
        }
        assertThat(listener.recordedEventTypes()).containsExactly(
          "CallStart",
          "ProxySelectStart", "ProxySelectEnd", "DnsStart", "DnsEnd",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
Back to top