Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for detect (0.34 sec)

  1. docs/changelogs/changelog_4x.md

        the OkHttp version in custom `User-Agent` headers.
    
     *  Fix: Don't crash when running as a plugin in Android Studio Canary 4.1. To enable
        platform-specific TLS features OkHttp must detect whether it's running in a JVM or in Android.
        The upcoming Android Studio runs in a JVM but has classes from Android and that confused OkHttp!
    
    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/RoutePlanner.kt

       */
      fun hasNext(failedConnection: RealConnection? = null): Boolean
    
      /**
       * Returns true if the host and port are unchanged from when this was created. This is used to
       * detect if followups need to do a full connection-finding process including DNS resolution, and
       * certificate pin checks.
       */
      fun sameHostAndPort(url: HttpUrl): Boolean
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

    OkHttp 3.x Change Log
    =====================
    
    ## Version 3.14.9
    
    _2020-05-17_
    
     *  Fix: Don't crash when running as a plugin in Android Studio Canary 4.1. To enable
        platform-specific TLS features OkHttp must detect whether it's running in a JVM or in Android.
        The upcoming Android Studio runs in a JVM but has classes from Android and that confused OkHttp!
    
    
    ## Version 3.14.8
    
    _2020-04-28_
    
    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. okhttp/src/main/kotlin/okhttp3/Headers.kt

     *
     * This class tracks header values line-by-line. A field with multiple comma- separated values on
     * the same line will be treated as a field with a single value by this class. It is the caller's
     * responsibility to detect and split on commas if their field permits multiple values. This
     * simplifies use of single-valued fields whose values routinely contain commas, such as cookies or
     * dates.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

              body = requestBody,
            ),
          )
        }
      }
    
      @Test
      @Disabled
      fun testPooledConnectionsDetectHttp10() {
        // TODO: write a test that shows pooled connections detect HTTP/1.0 (vs. HTTP/1.1)
        fail("TODO")
      }
    
      @Test
      @Disabled
      fun postBodiesRetransmittedOnAuthProblems() {
        fail("TODO")
      }
    
      @Test
      @Disabled
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.ByteString.Companion.toByteString
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    
    internal class DerTest {
      @Test fun `decode tag and length`() {
        val buffer =
          Buffer()
            .writeByte(0b00011110)
            .writeByte(0b10000001)
            .writeByte(0b11001001)
    
        val derReader = DerReader(buffer)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  7. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        val session_ticket_supported: Boolean,
        val tls_compression_supported: Boolean,
        val ephemeral_keys_supported: Boolean,
        val rating: String,
        val tls_version: String,
        val able_to_detect_n_minus_one_splitting: Boolean,
        val insecure_cipher_suites: Map<String, List<String>>,
        val given_cipher_suites: List<String>?,
      )
    
      @Test
      @Disabled
      fun testSSLFeatures() {
        assumeNetwork()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * Sets the interval between HTTP/2 and web socket pings initiated by this client. Use this to
         * automatically send ping frames until either the connection fails or it is closed. This keeps
         * the connection alive and may detect connectivity failures.
         *
         * If the server does not respond to each ping with a pong within `interval`, this client will
         * assume that connectivity has been lost. When this happens on a web socket the connection is
    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)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

       * address.
       */
      private fun routeMatchesAny(candidates: List<Route>): Boolean {
        return candidates.any {
          it.proxy.type() == Proxy.Type.DIRECT &&
            route.proxy.type() == Proxy.Type.DIRECT &&
            route.socketAddress == it.socketAddress
        }
      }
    
      private fun supportsUrl(url: HttpUrl): Boolean {
        lock.assertHeld()
    
        val routeUrl = route.address.url
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

     * intended for use in Internationalized Domain Names (IDNs).
     *
     * This class contains a Kotlin implementation of the pseudocode specified by RFC 3492. It includes
     * direct translation of the pseudocode presented there.
     *
     * Partner this class with [UTS #46] to implement IDNA2008 [RFC 5890] like most browsers do.
     *
     * [RFC 3492]: https://datatracker.ietf.org/doc/html/rfc3492
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
Back to top