Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 536 for okcurl (0.06 seconds)

  1. okcurl/okcurl

    #!/bin/sh -e
    
    ../gradlew -q --console plain nativeBuild
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 19 08:48:55 GMT 2025
    - 83 bytes
    - Click Count (0)
  2. okcurl/src/main/resources-templates/okcurl-version.properties

    Jesse Wilson <******@****.***> 1703114827 -0500
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 26 bytes
    - Click Count (0)
  3. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 19 08:48:55 GMT 2025
    - 261 bytes
    - Click Count (0)
  4. okcurl/build.gradle.kts

      }
    }
    
    apply(plugin = "org.graalvm.buildtools.native")
    
    configure<GraalVMExtension> {
      binaries {
        named("main") {
          imageName = "okcurl"
          mainClass = "okhttp3.curl.MainCommandLineKt"
          if (System.getProperty("os.name").lowercase().contains("windows")) {
            // windows requires a slightly different approach for some things
          } else {
            buildArgs("--no-fallback")
          }
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  5. 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")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

        okHttpClient.dispatcher.executorService.shutdownNow()
      }
    
      companion object {
        internal const val NAME = "okcurl"
        internal const val DEFAULT_TIMEOUT = -1
    
        private fun versionString(): String? {
          val prop = Properties()
          Main::class.java.getResourceAsStream("/okcurl-version.properties")?.use {
            prop.load(it)
          }
          return prop.getProperty("version", "dev")
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. 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.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        assertThat(request.body).isNull()
      }
    
      @Test
      fun defaultUserAgent() {
        val request = fromArgs("http://example.com").createRequest()
        assertThat(request.header("User-Agent")!!).startsWith("okcurl/")
      }
    
      @Test
      fun headerSplitWithDate() {
        val request =
          fromArgs(
            "-H",
            "If-Modified-Since: Mon, 18 Aug 2014 15:16:06 GMT",
            "http://example.com",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
  10. .github/workflows/build.yml

              github-token: ${{ secrets.GITHUB_TOKEN }}
              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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 16:19:02 GMT 2026
    - 11.6K bytes
    - Click Count (0)
Back to Top