- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 358 for contention (0.31 seconds)
-
samples/compare/build.gradle.kts
plugins { kotlin("jvm") id("okhttp.jvm-conventions") id("okhttp.quality-conventions") id("okhttp.testing-conventions") } dependencies { testImplementation(projects.okhttp) testImplementation(projects.mockwebserver3) testImplementation(projects.mockwebserver3Junit5) testImplementation(projects.okhttpTls) testImplementation(projects.okhttpTestingSupport) testImplementation(libs.http.client5)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 576 bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt
class SocketClosingEventListener : EventListener() { var shouldClose: Boolean = false var lastSocket: Socket? = null override fun connectionAcquired( call: Call, connection: Connection, ) { lastSocket = connection.socket() } override fun requestHeadersStart(call: Call) { if (shouldClose) { lastSocket!!.close() } } } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 3K bytes - Click Count (0) -
samples/tlssurvey/build.gradle.kts
plugins { kotlin("jvm") id("okhttp.jvm-conventions") id("okhttp.quality-conventions") id("okhttp.testing-conventions") application id("com.google.devtools.ksp") } application { mainClass.set("okhttp3.survey.RunSurveyKt") } dependencies { implementation(projects.okhttp) implementation(projects.okhttpCoroutines) implementation(libs.conscrypt.openjdk) implementation(libs.square.retrofit)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 636 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ReusePlan.kt
*/ package okhttp3.internal.connection /** Reuse a connection from the pool. */ internal class ReusePlan( val connection: RealConnection, ) : RoutePlanner.Plan { override val isReady = true override fun connectTcp() = error("already connected") override fun connectTlsEtc() = error("already connected") override fun handleSuccess() = connection
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt
import okhttp3.Headers import okhttp3.Request import okhttp3.Response import okhttp3.Route import okhttp3.internal.connection.RealCall import okio.Sink import okio.Socket import okio.Source /** Encodes HTTP requests and decodes HTTP responses. */ interface ExchangeCodec { /** The connection or CONNECT tunnel that owns this codec. */ val carrier: CarrierCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 3.3K bytes - Click Count (0) -
mockwebserver-deprecated/build.gradle.kts
plugins { kotlin("jvm") id("okhttp.publish-conventions") id("okhttp.jvm-conventions") id("okhttp.quality-conventions") id("okhttp.testing-conventions") } project.applyJavaModules("okhttp3.mockwebserver") dependencies { "friendsApi"(projects.okhttp) api(projects.mockwebserver3) api(libs.junit) api(libs.square.okio) testImplementation(projects.okhttpTestingSupport) testImplementation(projects.okhttpTls)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 523 bytes - Click Count (0) -
mockwebserver/build.gradle.kts
plugins { kotlin("jvm") id("okhttp.publish-conventions") id("okhttp.jvm-conventions") id("okhttp.quality-conventions") id("okhttp.testing-conventions") } project.applyJavaModules("mockwebserver3") dependencies { "friendsApi"(projects.okhttp) testImplementation(projects.okhttpTestingSupport) testImplementation(projects.okhttpTls) testImplementation(projects.mockwebserver3Junit5) testImplementation(libs.junit)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 591 bytes - Click Count (0) -
mockwebserver-junit5/build.gradle.kts
plugins { kotlin("jvm") id("okhttp.publish-conventions") id("okhttp.jvm-conventions") id("okhttp.quality-conventions") id("okhttp.testing-conventions") } project.applyJavaModules("mockwebserver3.junit5") dependencies { "friendsApi"(projects.okhttp) api(projects.mockwebserver3) api(libs.junit.jupiter.api) compileOnly(libs.animalsniffer.annotations) testRuntimeOnly(libs.junit.jupiter.engine)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 546 bytes - Click Count (0) -
docs/features/interceptors.md
Content-Type: text/html Content-Length: 193 Connection: keep-alive Location: https://publicobject.com/helloworld.txt INFO: Sending request https://publicobject.com/helloworld.txt on Connection{publicobject.com:443, proxy=DIRECT hostAddress=54.187.32.157 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA protocol=http/1.1} User-Agent: OkHttp Example Host: publicobject.com Connection: Keep-Alive Accept-Encoding: gzipCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 8.1K bytes - Click Count (0) -
okhttp-zstd/build.gradle.kts
plugins { kotlin("jvm") id("okhttp.publish-conventions") id("okhttp.jvm-conventions") id("okhttp.quality-conventions") id("okhttp.testing-conventions") } project.applyOsgi( "Export-Package: okhttp3.zstd", "Automatic-Module-Name: okhttp3.zstd", "Bundle-SymbolicName: com.squareup.okhttp3.zstd", ) dependencies { "friendsApi"(projects.okhttp) implementation(libs.square.zstd.kmp.okio)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 630 bytes - Click Count (0)