Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 7,346 for okhttp (0.34 sec)

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

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import java.time.Instant
    import java.util.Date
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.toHeaders
    import org.junit.jupiter.api.Test
    
    class HeadersJvmTest {
      @Test fun byteCount() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. mockwebserver-junit4/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyJavaModules("mockwebserver3.junit4")
    
    dependencies {
      api(projects.okhttp)
      api(projects.mockwebserver3)
      api(libs.junit)
    
      testImplementation(libs.assertk)
      testImplementation(libs.junit.vintage.engine)
    }
    
    mavenPublishing {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 533 bytes
    - Viewed (0)
  3. okhttp-brotli/build.gradle.kts

      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.brotli",
      "Bundle-SymbolicName: com.squareup.okhttp3.brotli"
    )
    
    project.applyJavaModules("okhttp3.brotli")
    
    dependencies {
      "friendsApi"(projects.okhttp)
      api(libs.brotli.dec)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.conscrypt.openjdk)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 793 bytes
    - Viewed (0)
  4. okhttp-hpacktests/README.md

    OkHttp HPACK tests
    ==================
    
    These tests use the [hpack-test-case][1] project to validate OkHttp's HPACK
    implementation.  The HPACK test cases are in a separate git submodule, so to
    initialize them, you must run:
    
        git submodule init
        git submodule update
    
    TODO
    ----
    
     * Add maven goal to avoid manual call to git submodule init.
     * Make hpack-test-case update itself from git, and run new tests.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 15 16:59:53 UTC 2014
    - 578 bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/build.gradle.kts

      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.dnsoverhttps",
      "Bundle-SymbolicName: com.squareup.okhttp3.dnsoverhttps"
    )
    
    project.applyJavaModules("okhttp3.dnsoverhttps")
    
    dependencies {
      "friendsApi"(projects.okhttp)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.mockwebserver)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 906 bytes
    - Viewed (1)
  6. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect.CloseStream
    import okhttp3.CallEvent.ConnectEnd
    import okhttp3.CallEvent.ConnectFailed
    import okhttp3.CallEvent.ConnectStart
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.testing.Flaky
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. okhttp-coroutines/build.gradle.kts

      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.coroutines",
      "Bundle-SymbolicName: com.squareup.okhttp3.coroutines"
    )
    
    project.applyJavaModules("okhttp3.coroutines")
    
    dependencies {
      api(projects.okhttp)
      implementation(libs.kotlinx.coroutines.core)
      api(libs.squareup.okio)
      api(libs.kotlin.stdlib)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 937 bytes
    - Viewed (0)
  8. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

     * limitations under the License.
     */
    package okhttp3.unixdomainsockets;
    
    import java.io.File;
    import java.util.Collections;
    import okhttp3.OkHttpClient;
    import okhttp3.Protocol;
    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.mockwebserver.MockResponse;
    import okhttp3.mockwebserver.MockWebServer;
    
    /**
     * Create UNIX domain sockets for MockWebServer and OkHttp and connect 'em together. Note that we
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  9. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

     * limitations under the License.
     */
    
    package okhttp3.logging
    
    import java.io.IOException
    import java.nio.charset.Charset
    import java.util.TreeSet
    import java.util.concurrent.TimeUnit
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.Interceptor
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.internal.UnreadableResponseBody
    import okhttp3.internal.charsetOrUtf8
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 07 02:57:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. android-test-app/src/main/AndroidManifest.xml

    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:tools="http://schemas.android.com/tools" package="okhttp.android.testapp">
    
      <uses-permission android:name="android.permission.INTERNET" />
    
      <application
        android:allowBackup="true"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:name=".TestApplication"
      >
        <activity
          android:name=".MainActivity"
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 992 bytes
    - Viewed (0)
Back to top