- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for isTls (0.01 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt
} return true } override fun equals(other: Any?): Boolean { if (other !is ConnectionSpec) return false if (other === this) return true if (this.isTls != other.isTls) return false if (isTls) { if (!Arrays.equals(this.cipherSuitesAsString, other.cipherSuitesAsString)) return false if (!Arrays.equals(this.tlsVersionsAsString, other.tlsVersionsAsString)) return falseCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 10 09:36:53 GMT 2026 - 13.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt
.isEqualTo("At least one cipher suite is required") } } @Test fun cleartextBuilder() { val cleartextSpec = ConnectionSpec.Builder(false).build() assertThat(cleartextSpec.isTls).isFalse() } @Test fun tlsBuilder_explicitCiphers() { val tlsSpec = ConnectionSpec .Builder(true) .cipherSuites(CipherSuite.TLS_RSA_WITH_RC4_128_MD5)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 14.9K bytes - Click Count (0)