Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for okcurl (0.03 sec)

  1. settings.gradle.kts

    val loomBuild: String by settings
    
    if (androidBuild.toBoolean()) {
      include(":regression-test")
    }
    
    if (graalBuild.toBoolean()) {
      include(":native-image-tests")
    }
    
    include(":okcurl")
    include(":okhttp")
    include(":okhttp-bom")
    include(":okhttp-brotli")
    include(":okhttp-coroutines")
    include(":okhttp-dnsoverhttps")
    include(":okhttp-hpacktests")
    include(":okhttp-idna-mapping-table")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Oct 11 09:17:37 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. README.md

    GraalVM Native Image
    --------------------
    
    Building your native images with [GraalVM] should work automatically.
    
    See the okcurl module for an example build.
    
    ```shell
    $ ./gradlew okcurl:nativeImage
    $ ./okcurl/build/graal/okcurl https://httpbin.org/get
    ```
    
    Java Modules
    ------------
    
    OkHttp (5.2+) implements Java 9 Modules.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. build.gradle.kts

        // OkHttp requires Java 8+.
        jvmSignature(rootProject.libs.codehaus.signature.java18) { artifact { type = "signature" } }
      }
    
      val javaVersionSetting =
        if (testJavaVersion > 8 && (project.name == "okcurl" || project.name == "native-image-tests")) {
          // Depends on native-image-tools which is 17+, but avoids on Java 8 tests
          "17"
        } else {
          "1.8"
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 11.5K bytes
    - Viewed (1)
  4. CHANGELOG.md

    GraalVM is an exciting new platform and we're eager to adopt it. The startup time improvements over
    the JVM are particularly impressive. Try it with okcurl:
    
    ```
    $ ./gradlew okcurl:nativeImage
    $ ./okcurl/build/graal/okcurl https://cash.app/robots.txt
    ```
    
    This is our first release that supports GraalVM. Our code on this platform is less mature than JVM
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  5. .github/workflows/build.yml

              cache: 'gradle'
              native-image-job-reports: true
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v5
    
          - name: Build okcurl
            run: ./gradlew okcurl:nativeBuild
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v5
    
          - name: Run native-image tests
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 12 04:49:37 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. docs/works_with_okhttp.md

     * [Hunter](https://github.com/Leaking/Hunter): Configure all OkHttpClients centrally.
     * ⬜️ [Moshi](https://github.com/square/moshi): A modern JSON library for Android and Java.
     * [Ok2Curl](https://github.com/mrmike/Ok2Curl): Convert OkHttp requests into curl logs.
     * [OkHttp AWS Signer](https://github.com/babbel/okhttp-aws-signer): AWS V4 signing algorithm for OkHttp requests
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 26 07:59:38 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/Curl.java

     *   <li>TRACE</li>
     * </ul>
     *
     * <p>The Curl class also defines an enum {@link Method} which lists all supported HTTP methods.</p>
     *
     * <p>The temporary directory used by Curl is defined by the {@code tmpDir} field, which is initialized
     * to the system's temporary directory.</p>
     */
    public class Curl {
    
        /**
         * The temporary directory used by Curl. It is initialized to the system's temporary directory.
         */
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

          Request
            .Builder()
            .url("https://example.com")
            .header("Authorization", "Bearer abc123")
            .build()
    
        val curl = request.toCurl()
        assertThat(curl)
          .isEqualTo(
            """
            |curl 'https://example.com/' \
            |  -H 'Authorization: Bearer abc123'
            """.trimMargin(),
          )
      }
    
      @Test
      fun curlPostWithBody() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:36:14 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/CurlResponse.java

     */
    package org.codelibs.curl;
    
    import java.io.BufferedInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.Closeable;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.function.Function;
    
    import org.codelibs.curl.io.ContentCache;
    
    /**
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

        }
    
        /**
         * Closes the stream and deletes the temporary file if it was not retrieved.
         * If an error occurs during file deletion, it is logged but not thrown to avoid
         * masking exceptions from the main operation.
         *
         * @throws IOException if an I/O error occurs during stream closure
         */
        @Override
        public void close() throws IOException {
            try {
                super.close();
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top