Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for applyConnectionSpec (0.14 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

    import assertk.assertions.isTrue
    import java.util.concurrent.CopyOnWriteArraySet
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import kotlin.test.assertFailsWith
    import okhttp3.internal.applyConnectionSpec
    import okhttp3.internal.platform.Platform.Companion.isAndroid
    import okhttp3.testing.PlatformRule
    import okhttp3.testing.PlatformVersion.majorVersion
    import org.junit.jupiter.api.Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotEqualTo
    import assertk.assertions.isSameAs
    import okhttp3.CipherSuite.Companion.forJavaName
    import okhttp3.internal.applyConnectionSpec
    import org.junit.jupiter.api.Assertions.assertArrayEquals
    import org.junit.jupiter.api.Test
    
    class CipherSuiteTest {
      @Test
      fun hashCode_usesIdentityHashCode_legacyCase() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/internal.kt

      name: String,
      value: String,
    ): Headers.Builder = builder.addLenient(name, value)
    
    internal fun cacheGet(
      cache: Cache,
      request: Request,
    ): Response? = cache.get(request)
    
    internal fun applyConnectionSpec(
      connectionSpec: ConnectionSpec,
      sslSocket: SSLSocket,
      isFallback: Boolean,
    ) = connectionSpec.apply(sslSocket, isFallback)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top