Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 5,750 for okhttp (0.04 seconds)

  1. 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)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isLessThan
    import java.io.EOFException
    import java.util.zip.Deflater
    import kotlin.test.assertFailsWith
    import okhttp3.TestUtil.fragmentBuffer
    import okio.Buffer
    import okio.ByteString
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:26:07 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. 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]+(-.+)?"))
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 247 bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

    import mockwebserver3.junit5.StartStop
    import okhttp3.EventRecorder
    import okhttp3.Interceptor
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol
    import okhttp3.RecordingHostnameVerifier
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.TestLogHandler
    import okhttp3.TestUtil.assumeNotWindows
    import okhttp3.TestUtil.repeat
    import okhttp3.WebSocket
    import okhttp3.WebSocketListener
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  5. samples/static-server/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("com.gradleup.shadow")
    }
    
    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()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 17 05:15:23 GMT 2025
    - 338 bytes
    - Click Count (0)
  6. okcurl/README.md

    OkCurl
    ======
    
    _A curl for the next-generation web._
    
    OkCurl is an OkHttp-backed curl clone which allows you to test OkHttp's HTTP engine (including
    HTTP/2) against web servers.
    
    To run locally, make sure you have GRAALVM_HOME set and run
    
    ```bash
    ./okcurl
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jul 19 08:48:55 GMT 2025
    - 261 bytes
    - Click Count (0)
  7. 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" />
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Mar 23 11:14:34 GMT 2024
    - 291 bytes
    - Click Count (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)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 346 bytes
    - Click Count (0)
  9. samples/tlssurvey/build.gradle.kts

    plugins {
      kotlin("jvm")
      application
      id("com.google.devtools.ksp")
    }
    
    application {
      mainClass.set("okhttp3.survey.RunSurveyKt")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.okhttpCoroutines)
      implementation(libs.conscrypt.openjdk)
    
      implementation(libs.retrofit)
      implementation(libs.converter.moshi)
      implementation(libs.squareup.moshi)
      implementation(libs.squareup.moshi.kotlin)
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 17 05:15:32 GMT 2025
    - 518 bytes
    - Click Count (0)
  10. samples/compare/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      testImplementation(projects.okhttp)
      testImplementation(projects.mockwebserver3)
      testImplementation(projects.mockwebserver3Junit5)
      testImplementation(projects.okhttpTls)
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.httpClient5)
      testImplementation(libs.jettyClient)
      testImplementation(libs.junit)
      testImplementation(libs.assertk)
    }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 473 bytes
    - Click Count (0)
Back to Top