- Sort Score
- Result 10 results
- Languages All
Results 1391 - 1400 of 1,950 for func (0.09 sec)
-
okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt
} @Test fun basicChallenge() { val headers = Headers.Builder() .add("WWW-Authenticate: Basic realm=\"protected area\"") .build() assertThat(headers.parseChallenges("WWW-Authenticate")) .isEqualTo(listOf(Challenge("Basic", mapOf("realm" to "protected area")))) } @Test fun basicChallengeWithCharset() { val headers =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.6K bytes - Viewed (0) -
okhttp-sse/api/okhttp-sse.api
public abstract fun cancel ()V public abstract fun request ()Lokhttp3/Request; } public abstract interface class okhttp3/sse/EventSource$Factory { public abstract fun newEventSource (Lokhttp3/Request;Lokhttp3/sse/EventSourceListener;)Lokhttp3/sse/EventSource; } public abstract class okhttp3/sse/EventSourceListener { public fun <init> ()V public fun onClosed (Lokhttp3/sse/EventSource;)V
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 14:39:59 UTC 2023 - 1.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
* * Supported on Android 6.0+ via `NetworkSecurityPolicy`. */ open class Platform { /** Prefix used on custom headers. */ fun getPrefix() = "OkHttp" open fun newSSLContext(): SSLContext = SSLContext.getInstance("TLS") open fun platformTrustManager(): X509TrustManager { val factory = TrustManagerFactory.getInstance( TrustManagerFactory.getDefaultAlgorithm(), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
level = DeprecationLevel.ERROR, ) fun noTransform(): Boolean = noTransform @JvmName("-deprecated_immutable") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "immutable"), level = DeprecationLevel.ERROR, ) fun immutable(): Boolean = immutable override fun toString(): String = commonToString()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 10K bytes - Viewed (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
*/ private fun BaseGradleBuildType.getSubProjectSplitName() = largeSubProjectRegex.find(this.name)!!.groupValues[1] private fun BaseGradleBuildType.getGradleTasks(): String { val runnerStep = this.steps.items.find { it.name == "GRADLE_RUNNER" } as GradleBuildStep return runnerStep.tasks!! } private fun BaseGradleBuildType.getGradleParams(): String {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 18 07:02:47 UTC 2024 - 13.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/BaseTestHandler.kt
fail("") } override fun settings( clearPrevious: Boolean, settings: Settings, ) { fail("") } override fun ackSettings() { fail("") } override fun ping( ack: Boolean, payload1: Int, payload2: Int, ) { fail("") } override fun goAway( lastGoodStreamId: Int, errorCode: ErrorCode, debugData: ByteString, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
.byteCount(), ).isEqualTo(20L) } @Test fun addDate() { val expected = Date(0L) val headers = Headers.Builder() .add("testDate", expected) .build() assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT") assertThat(headers.getDate("testDate")).isEqualTo(Date(0L)) } @Test fun addInstant() { val expected = Instant.ofEpochMilli(0L)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api
public final fun client ()Lokhttp3/OkHttpClient; public final fun includeIPv6 ()Z public fun lookup (Ljava/lang/String;)Ljava/util/List; public final fun post ()Z public final fun resolvePrivateAddresses ()Z public final fun resolvePublicAddresses ()Z public final fun url ()Lokhttp3/HttpUrl; } public final class okhttp3/dnsoverhttps/DnsOverHttps$Builder { public fun <init> ()V
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 27 15:23:43 UTC 2022 - 1.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
@Synchronized fun writeAbortCount(): Int = writeAbortCount @Synchronized fun writeSuccessCount(): Int = writeSuccessCount @Throws(IOException::class) fun size(): Long = cache.size() /** Max size of the cache (in bytes). */ fun maxSize(): Long = cache.maxSize @Throws(IOException::class) override fun flush() { cache.flush() } @Throws(IOException::class) override fun close() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartBodyTest.kt
assertThat(buffer.readUtf8()).isEqualTo(expected) } fun String.toOneShotRequestBody(): RequestBody { return object : RequestBody() { override fun contentType() = null override fun isOneShot(): Boolean = true override fun contentLength() = ******@****.***8Size() override fun writeTo(sink: BufferedSink) { sink.writeUtf8(this@toOneShotRequestBody)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.4K bytes - Viewed (0)