- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 195 for okcurl (0.33 sec)
-
okcurl/okcurl
#!/bin/sh -e ../gradlew -q --console plain nativeBuild
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 08:48:55 UTC 2025 - 83 bytes - Viewed (0) -
okcurl/README.md
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 08:48:55 UTC 2025 - 261 bytes - Viewed (0) -
okcurl/build.gradle.kts
apply(plugin = "org.graalvm.buildtools.native") configure<GraalVMExtension> { binaries { named("main") { imageName = "okcurl" mainClass = "okhttp3.curl.MainCommandLineKt" } } } mavenPublishing { configure(KotlinJvm(javadocJar = JavadocJar.Empty()))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 22 20:31:49 UTC 2025 - 1.6K bytes - Viewed (0) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 13:41:00 UTC 2025 - 1.9K bytes - Viewed (0) -
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") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6K bytes - Viewed (0) -
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 ``` License ------- ``` Copyright 2019 Square, Inc.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.8K bytes - Viewed (0) -
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",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 31.6K bytes - Viewed (1) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 08:06:31 UTC 2025 - 11.3K bytes - Viewed (0) -
.github/workflows/build.yml
cache: 'gradle' native-image-job-reports: true - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Build okcurl run: ./gradlew okcurl:nativeBuild - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Run native-image tests
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 07:15:58 UTC 2025 - 18.1K bytes - Viewed (0)