- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 55 for Implementation (0.17 sec)
-
okhttp-android/src/test/kotlin/okhttp3/android/ShadowDnsResolver.kt
) @Implementation fun query( network: Network?, domain: String, nsType: Int, flags: Int, executor: Executor, cancellationSignal: CancellationSignal?, callback: DnsResolver.Callback<List<InetAddress>>, ) { responder(Request(network, domain, nsType, flags, callback)) } companion object { @Implementation @JvmStatic
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 22 20:07:09 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt
* limitations under the License. */ package okhttp3.internal.platform.android import javax.net.ssl.SSLSocket import okhttp3.Protocol /** * Deferred implementation of SocketAdapter that works by observing the socket * and initializing on first use. * * We use this because eager classpath checks cause confusion and excessive logging in Android,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
import assertk.assertThat import assertk.assertions.isEqualTo import okhttp3.internal.http2.hpackjson.HpackJsonUtil import okhttp3.internal.http2.hpackjson.Story import okio.Buffer /** * Tests Hpack implementation using https://github.com/http2jp/hpack-test-case/ */ open class HpackDecodeTestBase { private val bytesIn = Buffer() private val hpackReader = Hpack.Reader(bytesIn, 4096)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
okhttp-tls/build.gradle.kts
} project.applyOsgi( "Export-Package: okhttp3.tls", "Automatic-Module-Name: okhttp3.tls", "Bundle-SymbolicName: com.squareup.okhttp3.tls" ) dependencies { api(libs.squareup.okio) implementation(projects.okhttp) compileOnly(libs.findbugs.jsr305) compileOnly(libs.animalsniffer.annotations) testImplementation(projects.okhttpTestingSupport) testImplementation(projects.mockwebserver3Junit5)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 06 05:31:00 UTC 2024 - 1K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/BootstrapDns.kt
* limitations under the License. */ package okhttp3.dnsoverhttps import java.net.InetAddress import java.net.UnknownHostException import okhttp3.Dns /** * Internal Bootstrap DNS implementation for handling initial connection to DNS over HTTPS server. * * Returns hardcoded results for the known host. */ internal class BootstrapDns( private val dnsHostname: String,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/AsyncDns.kt
import okio.IOException /** * An async domain name service that resolves IP addresses for host names. * * The main implementations will typically be implemented using specific DNS libraries such as * * Android DnsResolver * * OkHttp DnsOverHttps * * dnsjava Resolver * * Implementations of this interface must be safe for concurrent use. */ @ExperimentalOkHttpApi interface AsyncDns { /**
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 3.5K bytes - Viewed (0) -
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) -
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) -
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) -
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)