- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for argument (0.23 sec)
-
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
* limitations under the License. */ package okhttp3.curl import com.github.ajalt.clikt.core.CliktCommand import com.github.ajalt.clikt.parameters.arguments.argument import com.github.ajalt.clikt.parameters.options.default import com.github.ajalt.clikt.parameters.options.flag import com.github.ajalt.clikt.parameters.options.multiple
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.7K bytes - Viewed (1) -
docs/changelogs/changelog_4x.md
* Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior between Kotlin's `assert()` and Java's `assert()`. (Kotlin always evaluates the argument; Java only does when assertions are enabled.) * Fix: Honor `RequestBody.isOneShot()` in `HttpLoggingInterceptor`. ## Version 4.2.2 _2019-10-06_
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ResponseBody.kt
contentLength: Long = -1L, ): ResponseBody = commonAsResponseBody(contentType, contentLength) @JvmStatic @Deprecated( message = "Moved to extension function. Put the 'content' argument first to fix Java", replaceWith = ReplaceWith( expression = "content.toResponseBody(contentType)", imports = ["okhttp3.ResponseBody.Companion.toResponseBody"], ),
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/RequestBody.kt
fileSystem.source(this@asRequestBody).use { source -> sink.writeAll(source) } } } } @JvmStatic @Deprecated( message = "Moved to extension function. Put the 'content' argument first to fix Java", replaceWith = ReplaceWith( expression = "content.toRequestBody(contentType)", imports = ["okhttp3.RequestBody.Companion.toRequestBody"], ),
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jan 25 14:41:37 GMT 2024 - 9.6K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
* We should test that the encoder is producing responses that are */ class HpackRoundTripTest : HpackDecodeTestBase() { internal class StoriesTestProvider : SimpleProvider() { override fun arguments(): List<Any> = createStories(RAW_DATA) } private val bytesOut = Buffer() private val hpackWriter = Hpack.Writer(out = bytesOut) @ParameterizedTest @ArgumentsSource(StoriesTestProvider::class)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Viewed (0) -
CHANGELOG.md
OkHttp's request bodies using the boundary only. (This change makes OkHttp more consistent with browsers and other HTTP clients.) * New: Drop the `tunnelProxy` argument in `MockWebServer.useHttps()`. This change only impacts the OkHttp 5.x API which uses the `mockwebserver3` package. * Fix: Don't call `toDuration()` which isn't available in kotlin-stdlib 1.4.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeInteropTest.kt
assumeFalse( story === Story.MISSING, "Test stories missing, checkout git submodule", ) testDecoder(story) } internal class StoriesTestProvider : SimpleProvider() { override fun arguments(): List<Any> = createStories(HpackJsonUtil.storiesForCurrentDraft()) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt
import org.junit.jupiter.params.provider.ArgumentsSource /** Runs the web platform URL tests against Java URL models. */ class WebPlatformUrlTest { class TestDataParamProvider : SimpleProvider() { override fun arguments() = ArrayList<Any>(loadTests()) } /** Test how [HttpUrl] does against the web platform test suite. */ @ArgumentsSource(TestDataParamProvider::class) @ParameterizedTest
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
fun build(): Headers = commonBuild() } companion object { /** * Returns headers for the alternating header names and values. There must be an even number of * arguments, and they must alternate between header names and values. */ @JvmStatic @JvmName("of") fun headersOf(vararg namesAndValues: String): Headers = commonHeadersOf(*namesAndValues)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.5K bytes - Viewed (0) -
gradle/wrapper/gradle-wrapper.jar
state; public final java.util.ArrayList values; public void CommandLineParser$KnownOptionParserSta(CommandLineParser$OptionString, CommandLineOption, ParsedCommandLine, CommandLineParser$ParserState); public final CommandLineParser$ParserState onArgument(String); public final CommandLineParser$ParserState onStartNextArg(); public final boolean getHasArgument(); public final CommandLineParser$ParserState onComplete(); } org/gradle/cli/CommandLineParser$MissingOptionArgStat.class package org.gradle.cli;...
Archive - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 24 09:00:26 GMT 2023 - 42.4K bytes - Viewed (0)