- Sort Score
- Result 10 results
- Languages All
Results 961 - 970 of 1,267 for func (0.02 sec)
-
okhttp-zstd/api/okhttp-zstd.api
public final class okhttp3/zstd/Zstd : okhttp3/CompressionInterceptor$DecompressionAlgorithm { public static final field INSTANCE Lokhttp3/zstd/Zstd; public fun decompress (Lokio/BufferedSource;)Lokio/Source; public fun getEncoding ()Ljava/lang/String;Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 18:34:32 UTC 2025 - 259 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 1.4K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/PushPromise.kt
replaceWith = ReplaceWith(expression = "method"), level = DeprecationLevel.ERROR, ) fun method(): String = method @JvmName("-deprecated_path") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "path"), level = DeprecationLevel.ERROR, ) fun path(): String = path @JvmName("-deprecated_headers") @Deprecated( message = "moved to val",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt
assertNull(adapter.getSelectedProtocol(sslSocket)) } @Test fun testMatchesSupportedAndroidSocketFactory() { assumeTrue(adapter is StandardAndroidSocketAdapter) assertTrue(adapter.matchesSocketFactory(context.socketFactory)) assertNotNull(adapter.trustManager(context.socketFactory)) } @Test fun testDoesntMatchSupportedCustomSocketFactory() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt
.build() } internal fun lookupDecompressor(encoding: String): DecompressionAlgorithm? = algorithms.find { it.encoding.equals(encoding, ignoreCase = true) } /** * A decompression algorithm such as Gzip. Must provide the Accept-Encoding value and decompress a Source. */ interface DecompressionAlgorithm { val encoding: String fun decompress(compressedSource: BufferedSource): Source
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3.2K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt
} /** Window update frames have special formatting. */ @Test fun windowUpdateFrames() { assertThat(frameLogWindowUpdate(false, 0, 4, Int.MAX_VALUE.toLong())) .isEqualTo(">> 0x00000000 4 WINDOW_UPDATE 2147483647") assertThat(frameLogWindowUpdate(true, 101, 4, 1)) .isEqualTo("<< 0x00000065 4 WINDOW_UPDATE 1") } @Test fun flagOverlapOn0x1() { assertThat(frameLog(true, 0, 0, TYPE_SETTINGS, 0x1))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/FlowControlListener.kt
*/ fun receivingStreamWindowChanged( streamId: Int, windowCounter: WindowCounter, bufferSize: Long, ) /** * Notification that the receiving connection flow control window has changed. * [WindowCounter] generally carries the client view of total and acked bytes. */ fun receivingConnectionWindowChanged(windowCounter: WindowCounter)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/PlatformTest.kt
var platform = PlatformRule() @Test fun alwaysBuilds() { Platform() } /** Guard against the default value changing by accident. */ @Test fun defaultPrefix() { assertThat(Platform().getPrefix()).isEqualTo("OkHttp") } @Test fun testToStringIsClassname() { assertThat(Platform().toString()).isEqualTo("Platform") } @Test fun testNotAndroid() { platform.assumeNotAndroid()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
level = DeprecationLevel.ERROR, ) fun keyManager(): X509KeyManager = keyManager @JvmName("-deprecated_trustManager") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "trustManager"), level = DeprecationLevel.ERROR, ) fun trustManager(): X509TrustManager = trustManager fun sslSocketFactory(): SSLSocketFactory = sslContext().socketFactory
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt
val credential: String?, val scheme: String?, ) : Authenticator { val responses = mutableListOf<Response>() val routes = mutableListOf<Route>() fun onlyResponse() = responses.single() fun onlyRoute() = routes.single() @Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? { if (route == null) throw NullPointerException("route == null")Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0)