- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 237 for OkHttp (0.66 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
} } /** * This test reproduces a crash where OkHttp attempted to use a deferred connection when the call * already had a healthy connection. It sets up a deferred connection by stalling the IPv6 * connect, and it sets up a same-connection retry with [ErrorCode.REFUSED_STREAM]. * * https://github.com/square/okhttp/pull/7190 */ @Test fun preferCallConnectionOverDeferredConnection() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.4K bytes - Viewed (0) -
android-test/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="okhttp.android.test"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <application android:usesCleartextTraffic="true" tools:targetApi="m"/>
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 387 bytes - Viewed (0) -
okhttp-osgi-tests/build.gradle.kts
plugins { kotlin("jvm") } dependencies { implementation(projects.okhttp) implementation(projects.okhttpBrotli) implementation(projects.okhttpCoroutines) implementation(projects.okhttpDnsoverhttps) implementation(projects.loggingInterceptor) implementation(projects.okhttpSse) implementation(projects.okhttpTls) implementation(projects.okhttpUrlconnection) testImplementation(projects.okhttpTestingSupport)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 08:17:18 UTC 2025 - 2.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt
assertThat(inflater.inflate(message)).isEqualTo("Hello inflation!".encodeUtf8()) } /** * We had a bug where self-finishing inflater streams would infinite loop! * https://github.com/square/okhttp/issues/8078 */ @Test fun `inflate returns finished before bytesRead reaches input length`() { val inflater = MessageInflater(false) val message = "53621260020000".decodeHex()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5K bytes - Viewed (0) -
okhttp/okhttp3.pro
-dontwarn javax.annotation.** # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java. -dontwarn org.codehaus.mojo.animal_sniffer.* # OkHttp platform used only on JVM and when Conscrypt and other security providers are available. # May be used with robolectric or deliberate use of Bouncy Castle on Android -dontwarn okhttp3.internal.platform.** -dontwarn org.conscrypt.**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 13:25:00 UTC 2025 - 512 bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
queryParamsNameToRedact = newQueryParamsNameToRedact } /** * Sets the level and returns this. * * This was deprecated in OkHttp 4.0 in favor of the [level] val. In OkHttp 4.3 it is * un-deprecated because Java callers can't chain when assigning Kotlin vals. (The getter remains * deprecated). */ fun setLevel(level: Level) = apply {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
} /** * The pinner should pull the root certificate from the trust manager. */ @Test fun pinRootNotPresentInChain() { // Fails on 11.0.1 https://github.com/square/okhttp/issues/4703 val rootCa = HeldCertificate .Builder() .serialNumber(1L) .certificateAuthority(1) .commonName("root") .build() val intermediateCa =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 24.3K bytes - Viewed (1) -
samples/guide/build.gradle.kts
plugins { kotlin("jvm") id("com.google.devtools.ksp") } dependencies { "friendsImplementation"(projects.okhttp) implementation(projects.mockwebserver) implementation(projects.okhttpTestingSupport) implementation(projects.okhttpTls) implementation(libs.animalsniffer.annotations) implementation(libs.squareup.moshi) implementation(libs.squareup.okio.fakefilesystem) ksp(libs.squareup.moshi.compiler) } java {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 17 05:15:32 UTC 2025 - 554 bytes - Viewed (0) -
android-test-app/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="okhttp.android.testapp"> <uses-permission android:name="android.permission.INTERNET" /> <application android:allowBackup="true" android:label="@string/app_name" android:supportsRtl="true" android:name=".TestApplication" > <activity android:name=".MainActivity"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Aug 19 08:10:39 UTC 2025 - 992 bytes - Viewed (0) -
okhttp-brotli/build.gradle.kts
} project.applyOsgi( "Export-Package: okhttp3.brotli", "Automatic-Module-Name: okhttp3.brotli", "Bundle-SymbolicName: com.squareup.okhttp3.brotli" ) dependencies { "friendsApi"(projects.okhttp) api(libs.brotli.dec) testImplementation(projects.okhttpTestingSupport) testImplementation(libs.conscrypt.openjdk) testImplementation(libs.junit) testImplementation(libs.kotlin.test.common)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 20:01:04 UTC 2025 - 792 bytes - Viewed (0)