Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for supports (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

    import okio.Timeout
    
    /**
     * Bridge between OkHttp's application and network layers. This class exposes high-level application
     * layer primitives: connections, requests, responses, and streams.
     *
     * This class supports [asynchronous canceling][cancel]. This is intended to have the smallest
     * blast radius possible. If an HTTP/2 stream is active, canceling will cancel that stream but not
    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)
  2. README.md

    [Conscrypt][conscrypt], which integrates [BoringSSL](https://github.com/google/boringssl) with Java. OkHttp will use Conscrypt if it is
    the first security provider:
    
    ```java
    Security.insertProviderAt(Conscrypt.newProvider(), 1);
    ```
    
    The OkHttp `3.12.x` branch supports Android 2.3+ (API level 9+) and Java 7+. These platforms lack
    support for TLS 1.2 and should not be used.
    
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        code][https_server_sample].
    
     *  **OkHttp now supports prior knowledge cleartext HTTP/2.** Enable this by setting
        `Protocol.H2_PRIOR_KNOWLEDGE` as the lone protocol on an `OkHttpClient.Builder`. This mode
        only supports `http:` URLs and is best suited in closed environments where HTTPS is
        inappropriate.
    
    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)
  4. kotlin-js-store/yarn.lock

    supports-color@8.1.1, supports-color@^8.0.0:
      version "8.1.1"
      resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c"
      integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==
      dependencies:
        has-flag "^4.0.0"
    
    supports-color@^7.1.0:
      version "7.2.0"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

          val methodName = method.name
          val returnType = method.returnType
          if (methodName == "supports" && Boolean::class.javaPrimitiveType == returnType) {
            return true // ALPN is supported.
          } else if (methodName == "unsupported" && Void.TYPE == returnType) {
            this.unsupported = true // Peer doesn't support ALPN.
            return null
          } else if (methodName == "protocols" && callArgs.isEmpty()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

     * limitations under the License.
     */
    package okhttp3.tls.internal.der
    
    import java.net.ProtocolException
    
    /**
     * Handles basic types that always use the same tag. This supports optional types and may set a type
     * hint for further adapters to process.
     *
     * Types like ANY and CHOICE that don't have a consistent tag cannot use this.
     */
    internal data class BasicDerAdapter<T>(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. docs/features/connections.md

    ### [Fast Fallback](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-ok-http-client/-builder/fast-fallback/)
    
    Since version 5.0, `OkHttpClient` supports fast fallback, which is our implementation of Happy Eyeballs [RFC 6555](https://datatracker.ietf.org/doc/html/rfc6555).
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Feb 21 03:33:59 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

    /**
     * Access to platform-specific features.
     *
     * ### Session Tickets
     *
     * Supported on Android 2.3+.
     * Supported on JDK 8+ via Conscrypt.
     *
     * ### ALPN (Application Layer Protocol Negotiation)
     *
     * Supported on Android 5.0+.
     *
     * Supported on OpenJDK 8 via the JettyALPN-boot library or Conscrypt.
     *
     * Supported on OpenJDK 9+ via SSLParameters and SSLSocket features.
     *
     * ### Trust Manager Extraction
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  9. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        assertThat(pool.connectionCount()).isEqualTo(1)
    
        // All other connections created will expire sooner
        routePlanner.defaultConnectionIdleAtNanos = expireSooner
    
        // Turn it into an http/2 connection that supports 5 concurrent streams
        // which can satisfy a larger policy
        val connection = routePlanner.plans.first().connection
        val http2Connection = connectHttp2(peer, connection, 5)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

          emptyList()
        }
      }
    
      /**
       * Convert a request header to OkHttp's cookies via [HttpCookie]. That extra step handles
       * multiple cookies in a single request header, which [Cookie.parse] doesn't support.
       */
      private fun decodeHeaderAsJavaNetCookies(
        url: HttpUrl,
        header: String,
      ): List<Cookie> {
        val result = mutableListOf<Cookie>()
        var pos = 0
        val limit = header.length
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top