Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Bins (0.27 sec)

  1. docs/changelogs/changelog_4x.md

        `java.net.Authenticator`. This obsoletes `JavaNetAuthenticator` in the `okhttp-urlconnection`
        module.
    
     *  New: `CertificatePinner` now offers an API for inspecting the configured pins.
    
     *  Upgrade: [Okio 2.6.0][okio_2_6_0].
    
        ```kotlin
        implementation("com.squareup.okio:okio:2.6.0")
        ```
    
    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/CertificatePinner.kt

          this
        } else {
          CertificatePinner(pins, certificateChainCleaner)
        }
      }
    
      override fun equals(other: Any?): Boolean {
        return other is CertificatePinner &&
          other.pins == pins &&
          other.certificateChainCleaner == certificateChainCleaner
      }
    
      override fun hashCode(): Int {
        var result = 37
        result = 41 * result + pins.hashCode()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  3. okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt

            Pin("example.com", CertificatePinnerTest.certA1Sha256Pin),
            Pin("www.example.com", CertificatePinnerTest.certA1Sha256Pin),
          )
    
        assertEquals(expectedPins, builder.pins)
        assertEquals(expectedPins.toSet(), certificatePinner.pins)
      }
    
      companion object {
        internal var certA1: HeldCertificate =
          HeldCertificate.Builder()
            .serialNumber(100L)
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/concurrent/Task.kt

     * task should not be executed again. Otherwise it returns a delay until the next execution.
     *
     * A task has at most one next execution. If the same task instance is scheduled multiple times, the
     * earliest one wins. This applies to both executions scheduled with [TaskRunner.Queue.schedule] and
     * those implied by the returned execution delay.
     *
     * Cancellation
     * ------------
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  5. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

            + "dnd:read dnd:write emoji:read files:read files:write:user groups:history groups:read "
            + "groups:write im:history im:read im:write mpim:history mpim:read mpim:write pins:read "
            + "pins:write reactions:read reactions:write search:read stars:read stars:write team:read "
            + "usergroups:read usergroups:write users:read users:write identify";
    
        if (true) {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_3x.md

     *  Fix: Recover gracefully when trimming the response cache fails.
     *  New: Add multiple path segments using a single string in `HttpUrl.Builder`.
     *  New: Support SHA-256 pins in certificate pinner.
    
    
    ## Version 3.1.2
    
    _2016-02-10_
    
     *  Fix: Don’t crash when finding the trust manager on Robolectric. We attempted
    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)
  7. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

            CertificatePinner.Pin("example.com", certA1Sha256Pin),
            CertificatePinner.Pin("www.example.com", certA1Sha256Pin),
          )
        assertEquals(expectedPins, builder.pins)
        assertEquals(HashSet(expectedPins), certificatePinner.pins)
      }
    
      companion object {
        val certA1 =
          HeldCertificate.Builder()
            .serialNumber(100L)
            .build()
        val certA1Sha256Pin = pin(certA1.certificate)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CookieTest.kt

      /** If a cookie incorrectly defines multiple 'Max-Age' attributes, the last one defined wins.  */
      @Test fun lastMaxAgeWins() {
        assertThat(parseCookie(0L, url, "a=b; Max-Age=2; Max-Age=4; Max-Age=1; Max-Age=3")!!.expiresAt)
          .isEqualTo(3000L)
      }
    
      /** If a cookie incorrectly defines multiple 'Expires' attributes, the last one defined wins.  */
      @Test fun lastExpiresAtWins() {
        assertThat(
          parseCookie(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        // Start by looking for exact matches. We start at the leftmost label. For example, foo.bar.com
        // will look like: [foo, bar, com], [bar, com], [com]. The longest matching rule wins.
        var exactMatch: String? = null
        for (i in domainLabelsUtf8Bytes.indices) {
          val rule = publicSuffixListBytes.binarySearch(domainLabelsUtf8Bytes, i)
          if (rule != null) {
            exactMatch = rule
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

       * - 2 requests happen concurrently to a host that can be coalesced onto a single connection.
       * - Both request discover no existing connection. They both make a connection.
       * - The first request "wins the race".
       * - The second request discovers it "lost the race" and closes the connection it just opened.
       * - The second request uses the coalesced connection from request1.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top