Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 65 for Chan (0.12 sec)

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

        @JvmField val TLS_AES_128_CCM_8_SHA256 = init("TLS_AES_128_CCM_8_SHA256", 0x1305)
    
        /**
         * @param javaName the name used by Java APIs for this cipher suite. Different than the IANA
         *     name for older cipher suites because the prefix is `SSL_` instead of `TLS_`.
         */
        @JvmStatic
        @Synchronized fun forJavaName(javaName: String): CipherSuite {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

      internal val lock: ReentrantLock = ReentrantLock()
    
      /**
       * The maximum number of requests to execute concurrently. Above this requests queue in memory,
       * waiting for the running calls to complete.
       *
       * If more than [maxRequests] requests are in flight when this is invoked, those requests will
       * remain in flight.
       */
      var maxRequests = 64
        get() = this.withLock { field }
        set(maxRequests) {
    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)
  3. docs/features/interceptors.md

    A call to `chain.proceed(request)` is a critical part of each interceptor’s implementation. This simple-looking method is where all the HTTP work happens, producing a response to satisfy the request. If `chain.proceed(request)` is being called more than once previous response bodies must be closed.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  4. CHANGELOG.md

    ## Version 5.0.0-alpha.9
    
    _2022-06-16_
    
     *  New: Enforce label length limits in URLs. `HttpUrl` now rejects URLs whose domains aren't valid.
        This includes overly-long domain names (longer than 253 characters), overly-long labels (more
        than 63 characters between dots), and empty labels.
     *  New: Don't include the `Content-Length` header in multipart bodies. Servers must delimit
    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)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      /** Settings we communicate to the peer. */
      val okHttpSettings =
        Settings().apply {
          // Flow control was designed more for servers, or proxies than edge clients. If we are a client,
          // set the flow control window to 16MiB.  This avoids thrashing window updates every 64KiB, yet
          // small enough to avoid blowing up the heap.
          if (builder.client) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

       *
       * This method throws if the complete chain to a trusted CA certificate cannot be constructed.
       * This is unexpected unless the trust root index in this class has a different trust manager than
       * what was used to establish [chain].
       */
      @Throws(SSLPeerUnverifiedException::class)
      override fun clean(
        chain: List<Certificate>,
        hostname: String,
      ): List<Certificate> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        }
      }
    
      companion object {
        private val ONLY_HTTP1 = listOf(Protocol.HTTP_1_1)
    
        /**
         * The maximum number of bytes to enqueue. Rather than enqueueing beyond this limit we tear down
         * the web socket! It's possible that we're writing faster than the peer can read.
         */
        private const val MAX_QUEUE_SIZE = 16L * 1024 * 1024 // 16 MiB.
    
        /**
    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)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

         * gaps. For example, an insecure TLS connection is capable of negotiating HTTP/2 with ALPN and
         * it also has a regular-looking handshake.
         *
         * **This feature is not supported on Android API levels less than 24.** Prior releases lacked
         * a mechanism to trust some hosts and not others.
         *
         * @param hostname the exact hostname from the URL for insecure connections.
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.5K bytes
    - Viewed (1)
  9. docs/changelogs/changelog_2x.md

        timing out, and that was a lousy policy. If establishing a connection,
        reading the next byte from a connection, or writing the next byte to a
        connection takes more than 10 seconds to complete, you’ll need to adjust
        the timeouts manually.
    
     *  **OkHttp now rejects request headers that contain invalid characters.** This
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Cookie.kt

       * This is December 31, 9999 if the cookie is not [persistent], in which case it will expire at the
       * end of the current session.
       *
       * This may return a value less than the current time, in which case the cookie is already
       * expired. Webservers may return expired cookies as a mechanism to delete previously set cookies
       * that may or may not themselves be expired.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top