Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testHttps (1.28 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

      @BeforeEach
      fun setUp() {
        // Test designed for Conscrypt and JSSE
        platform.assumeNotBouncyCastle()
      }
    
      @Test
      fun testHttp(socketMode: SocketMode = burstValues(Channel, Standard)) {
        testConnection(socketMode)
      }
    
      @Test
      fun testHttps(
        provider: Provider = Provider.JSSE,
        protocol: Protocol = burstValues(HTTP_1_1, HTTP_2),
        tlsVersion: TlsVersion = burstValues(TLS_1_3, TLS_1_2),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt

     *
     * Mainly intended to verify behaviour of popular clients across Android versions, similar
     * to observing Firefox or Chrome browser behaviour.
     */
    class ApacheHttpClientHttp2Test {
      @Test
      fun testHttp2() {
        val client = HttpAsyncClients.createHttp2Default()
    
        client.use { client ->
          client.start()
          val request = SimpleHttpRequests.get("https://google.com/robots.txt")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top