Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 4,587 for okhttp (0.04 sec)

  1. okhttp-bom/build.gradle.kts

      id("java-platform")
    }
    
    dependencies {
      constraints {
        project.rootProject.subprojects.forEach { subproject ->
          if (subproject.name != "okhttp-bom") {
            api(subproject)
          }
        }
        api("com.squareup.okhttp3:okhttp-jvm:${project.version}")
        api("com.squareup.okhttp3:okhttp-android:${project.version}")
      }
    }
    
    publishing {
      publications.create<MavenPublication>("maven") {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jul 13 08:32:01 UTC 2025
    - 501 bytes
    - Viewed (0)
  2. mkdocs.yml

    site_name: OkHttp
    site_url: https://square.github.io/okhttp/
    repo_name: OkHttp
    repo_url: https://github.com/square/okhttp
    site_description: "Square’s meticulous HTTP client for the JVM, Android, and GraalVM"
    site_author: Square, Inc.
    remote_branch: gh-pages
    edit_uri: ""
    
    copyright: 'Copyright &copy; 2022 Block, Inc.'
    
    theme:
      name: 'material'
      favicon: assets/images/icon-square.png
      logo: assets/images/icon-square.png
      palette:
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Nov 21 07:19:31 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. docs/features/interceptors.md

        .build();
    
    Request request = new Request.Builder()
        .url("http://www.publicobject.com/helloworld.txt")
        .header("User-Agent", "OkHttp Example")
        .build();
    
    Response response = client.newCall(request).execute();
    response.body().close();
    ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  4. okhttp-java-net-cookiejar/README.md

    OkHttp java.net.CookieHandler
    =============================
    
    This module integrates OkHttp with `CookieHandler` from `java.net`.
    This used to be part of `okhttp-urlconnection`
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:5.1.0")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 284 bytes
    - Viewed (0)
  5. docs/recipes.md

    To prevent a response from using the cache, use [`CacheControl.FORCE_NETWORK`](http://square.github.io/okhttp/4.x/okhttp/okhttp3/-cache-control/-f-o-r-c-e_-n-e-t-w-o-r-k/). To prevent it from using the network, use [`CacheControl.FORCE_CACHE`](http://square.github.io/okhttp/4.x/okhttp/okhttp3/-cache-control/-f-o-r-c-e_-c-a-c-h-e/). Be warned: if you use `FORCE_CACHE` and the response requires the network, OkHttp will return a `504 Unsatisfiable Request` response.
    
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

        cachedResponse: Response,
      ) {
      }
    
      /**
       * Invoked when OkHttp decides whether to retry after a connectivity failure.
       *
       * OkHttp won't retry when it is configured not to:
       *
       *  * If retries are forbidden with [OkHttpClient.retryOnConnectionFailure]. (OkHttp's defaults
       *    permit retries.)
       *  * If OkHttp already attempted to transmit the request body, and [RequestBody.isOneShot] is
       *    true.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

     * limitations under the License.
     */
    package okhttp.regression.compare;
    
    import androidx.test.ext.junit.runners.AndroidJUnit4;
    import java.io.IOException;
    import okhttp3.OkHttpClient;
    import okhttp3.Protocol;
    import okhttp3.Request;
    import static org.junit.Assert.assertEquals;
    
    import okhttp3.Response;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    /**
     * OkHttp.
     *
     * https://square.github.io/okhttp/
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Nov 14 17:38:22 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  8. native-image-tests/build.gradle.kts

    // TODO reenable other tests
    // https://github.com/square/okhttp/issues/8901
    //sourceSets {
    //  test {
    //    java.srcDirs(
    //      "../okhttp-brotli/src/test/java",
    //      "../okhttp-dnsoverhttps/src/test/java",
    //      "../okhttp-logging-interceptor/src/test/java",
    //      "../okhttp-sse/src/test/java",
    //    )
    //  }
    //}
    
    dependencies {
      implementation(projects.okhttp)
    
      testImplementation(projects.mockwebserver3Junit5)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 904 bytes
    - Viewed (0)
  9. docs/changelogs/changelog_2x.md

     *  **URLConnection support has moved to the okhttp-urlconnection module.**
        If you're upgrading from 1.x, this change will impact you. You will need to
        add the `okhttp-urlconnection` module to your project and use the
        `OkUrlFactory` to create new instances of `HttpURLConnection`:
    
        ```java
        // OkHttp 1.x:
        HttpURLConnection connection = client.open(url);
    
        // OkHttp 2.x:
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_1x.md

        X-Android-Received-Millis is now OkHttp-Received-Millis
        X-Android-Response-Source is now OkHttp-Response-Source
        X-Android-Selected-Transport is now OkHttp-Selected-Transport
        ```
     *  Improve cache invalidation for POST-like requests.
     *  Bring MockWebServer into OkHttp and teach it SPDY.
    
    
    ## Version 1.1.1
    
    _2013-06-23_
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
Back to top