Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 238 for OkHttp (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

     * Downloads the public suffix list from https://publicsuffix.org/list/public_suffix_list.dat and
     * transforms the file into an efficient format used by OkHttp.
     *
     *
     * The intent is to use this class to update the list periodically by manually running the main
     * method. This should be run from the top-level okhttp directory.
     *
     *
     * The resulting file is used by [PublicSuffixDatabase].
     */
    class PublicSuffixListGenerator(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt

     *
     * Implementations of this interface must be safe for concurrent use.
     */
    fun interface Dns {
      /**
       * Returns the IP addresses of `hostname`, in the order they will be attempted by OkHttp. If a
       * connection to an address fails, OkHttp will retry the connection with the next address until
       * either a connection is made, the set of IP addresses is exhausted, or a limit is exceeded.
       */
      @Throws(UnknownHostException::class)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

     * The configuration of each spec changes with each OkHttp release. This is annoying: upgrading
     * your OkHttp library can break connectivity to certain web servers! But it’s a necessary annoyance
     * because the TLS ecosystem is dynamic and staying up to date is necessary to stay secure. See
     * [OkHttp's TLS Configuration History][tls_history] to track these changes.
     *
     * [tls_history]: https://square.github.io/okhttp/tls_configuration_history/
     */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

      val safari12iOS = sslLabsClients.first { it.userAgent == "Safari" && it.platform == "iOS 12.3.1" }
      val safari12Osx =
        sslLabsClients.first { it.userAgent == "Safari" && it.platform == "MacOS 10.14.6 Beta" }
    
      val okhttp = currentOkHttp(ianaSuitesNew)
    
      val okHttp_4_10 = historicOkHttp("4.10")
      val okHttp_3_14 = historicOkHttp("3.14")
      val okHttp_3_13 = historicOkHttp("3.13")
      val okHttp_3_11 = historicOkHttp("3.11")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. okhttp/src/commonTest/kotlin/okhttp3/OkHttpTest.kt

    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.matches
    import org.junit.jupiter.api.Test
    
    class OkHttpTest {
      @Test
      fun testVersion() {
        assertThat(OkHttp.VERSION).matches(Regex("[0-9]+\\.[0-9]+\\.[0-9]+(-.+)?"))
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 247 bytes
    - Viewed (0)
  6. regression-test/src/main/AndroidManifest.xml

    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="okhttp.android.regression">
      <uses-permission android:name="android.permission.INTERNET" />
    
      <!-- For HttpEngine -->
      <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Mar 23 11:14:34 UTC 2024
    - 291 bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Flaky
    @Tag("Slow")
    class WebSocketHttpTest {
      // Flaky https://github.com/square/okhttp/issues/4515
      // Flaky https://github.com/square/okhttp/issues/4953
      @RegisterExtension
      var clientTestRule = configureClientTestRule()
    
      @RegisterExtension
      var platform = PlatformRule()
    
      @RegisterExtension
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. okhttp-hpacktests/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      testImplementation(libs.squareup.okio)
      testImplementation(libs.squareup.moshi)
      testImplementation(libs.squareup.moshi.kotlin)
      testImplementation(projects.okhttp)
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.mockwebserver)
      testImplementation(libs.junit)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 346 bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

            .body(uppercase(originalResponse.body))
            .addHeader("OkHttp-Intercepted", "yep")
            .build()
        }
        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .build()
        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("ABC")
        assertThat(response.header("OkHttp-Intercepted")).isEqualTo("yep")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  10. samples/static-server/build.gradle.kts

    }
    
    tasks.compileJava {
      options.isWarnings = false
    }
    
    tasks.jar {
      manifest {
        attributes("Main-Class" to "okhttp3.sample.SampleServer")
      }
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.mockwebserver)
    }
    
    tasks.shadowJar {
      mergeServiceFiles()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 17 05:15:23 UTC 2025
    - 338 bytes
    - Viewed (0)
Back to top