Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for Implementation (0.15 sec)

  1. docs/works_with_okhttp.md

     * [Stetho](https://github.com/facebook/stetho): Stetho is a debug bridge for Android applications.
     * [Thrifty](https://github.com/Microsoft/thrifty): An implementation of Apache Thrift for Android.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Jun 08 18:15:23 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

        KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg==
        -----END CERTIFICATE-----
        """.trimIndent().decodeCertificatePem()
    
      private val client: OkHttpClient
    
      init {
        // This implementation just embeds the PEM files in Java strings; most applications will
        // instead read this from a resource file that gets bundled with the application.
        val certificates =
          HandshakeCertificates.Builder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/FlowControlListener.kt

       * [WindowCounter] generally carries the client view of total and acked bytes.
       */
      fun receivingConnectionWindowChanged(windowCounter: WindowCounter)
    
      /** Noop implementation */
      object None : FlowControlListener {
        override fun receivingStreamWindowChanged(
          streamId: Int,
          windowCounter: WindowCounter,
          bufferSize: Long,
        ) {
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_2x.md

     *  **Dispatcher** is a new class that manages the queue of asynchronous calls. It
        implements limits on total in-flight calls and in-flight calls per host.
    
    #### Implementation changes
    
     * Support Android `TrafficStats` socket tagging.
     * Drop authentication headers on redirect.
     * Added support for compressed data frames.
     * Process push promise callbacks in order.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  5. CHANGELOG.md

     *  Breaking: Drop support for Kotlin Multiplatform.
    
        We planned to support multiplatform in OkHttp 5.0, but after building it, we weren't happy with
        the implementation trade-offs. We can't use our HTTP client engine on Kotlin/JS, and we weren't
        prepared to build a TLS API for Kotlin/Native.
    
        We'd prefer a multiplatform HTTP client API that's backed by OkHttp on Android and JVM, and
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. okcurl/build.gradle.kts

          resources.srcDir(copyResourcesTemplates.get().outputs)
        }
      }
    }
    
    dependencies {
      api(libs.kotlin.stdlib)
      api(projects.okhttp)
      api(projects.loggingInterceptor)
      api(libs.squareup.okio)
      implementation(libs.clikt)
      api(libs.guava.jre)
    
      testImplementation(projects.okhttpTestingSupport)
      testApi(libs.assertk)
      testImplementation(kotlin("test"))
    }
    
    animalsniffer {
      isIgnoreFailures = true
    }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        // ideographic space
        assertThat(parse("http://h/\u3000").encodedPath).isEqualTo("/%E3%80%80")
      }
    
      @Test
      fun newBuilderResolve() {
        // Non-exhaustive tests because implementation is the same as resolve.
        val base = parse("http://host/a/b")
        assertThat(base.newBuilder("https://host2")!!.build())
          .isEqualTo(parse("https://host2/"))
        assertThat(base.newBuilder("//host2")!!.build())
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  8. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

    import okio.BufferedSource
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.Options
    
    /**
     * A decoded [mapping table] that can perform the [mapping step] of IDNA processing.
     *
     * This implementation is optimized for readability over efficiency.
     *
     * This implements non-transitional processing by preserving deviation characters.
     *
     * This implementation's STD3 rules are configured to `UseSTD3ASCIIRules=false`. This is
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

    import java.net.InetAddress
    import java.net.UnknownHostException
    import okio.Buffer
    import okio.ByteString
    import okio.utf8Size
    
    /**
     * Trivial Dns Encoder/Decoder, basically ripped from Netty full implementation.
     */
    internal object DnsRecordCodec {
      private const val SERVFAIL = 2
      private const val NXDOMAIN = 3
      const val TYPE_A = 0x0001
      const val TYPE_AAAA = 0x001c
      private const val TYPE_PTR = 0x000c
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.X509TrustManager
    import okhttp3.internal.SuppressSignatureCheck
    import okhttp3.internal.tls.CertificateChainCleaner
    
    /**
     * Android implementation of CertificateChainCleaner using direct Android API calls.
     * Not used if X509TrustManager doesn't implement [X509TrustManager.checkServerTrusted] with
     * an additional host param.
     */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top