- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for GzipSink (0.26 sec)
-
samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat May 25 18:02:55 UTC 2019 - 3.8K bytes - Viewed (0) -
docs/features/interceptors.md
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/RequestBody.kt
import okhttp3.internal.commonIsDuplex import okhttp3.internal.commonIsOneShot import okhttp3.internal.commonToRequestBody import okio.BufferedSink import okio.ByteString import okio.FileSystem import okio.GzipSink import okio.Path import okio.buffer import okio.source abstract class RequestBody { /** Returns the Content-Type header for this body. */ abstract fun contentType(): MediaType? /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 25 14:41:37 UTC 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
import okhttp3.ResponseBody.Companion.toResponseBody import okhttp3.TestUtil.assertSuppressed import okio.Buffer import okio.BufferedSink import okio.ForwardingSink import okio.ForwardingSource import okio.GzipSink import okio.Sink import okio.Source import okio.buffer import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 27.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt
import okio.Buffer import okio.BufferedSink import okio.BufferedSource import okio.ByteString import okio.ByteString.Companion.decodeHex import okio.ByteString.Companion.encodeUtf8 import okio.GzipSink import okio.buffer import org.junit.jupiter.api.Test class Http2Test { val frame = Buffer() val reader = Http2Reader(frame, false) val expectedStreamId = 15 @Test fun unknownFrameTypeSkipped() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 28.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
return client.newCall(request).execute() } /** Returns a gzipped copy of `bytes`. */ fun gzip(data: String?): Buffer { val result = Buffer() val gzipSink = GzipSink(result).buffer() gzipSink.writeUtf8(data!!) gzipSink.close() return result } private fun assertContent( expected: String, response: Response, limit: Int = Int.MAX_VALUE, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
import okhttp3.java.net.cookiejar.JavaNetCookieJar import okhttp3.testing.PlatformRule import okio.Buffer import okio.FileSystem import okio.ForwardingFileSystem import okio.GzipSink import okio.Path import okio.Path.Companion.toPath import okio.buffer import okio.fakefilesystem.FakeFileSystem import okio.use import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
import okhttp3.internal.discard import okhttp3.testing.Flaky import okhttp3.testing.PlatformRule import okhttp3.tls.HandshakeCertificates import okio.Buffer import okio.BufferedSink import okio.GzipSink import okio.Path.Companion.toPath import okio.buffer import okio.fakefilesystem.FakeFileSystem import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Assertions.assertArrayEquals
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
import okhttp3.testing.PlatformRule import okhttp3.tls.HandshakeCertificates import okhttp3.tls.HeldCertificate import okio.Buffer import okio.BufferedSink import okio.ForwardingSource import okio.GzipSink import okio.Path.Companion.toPath import okio.buffer import okio.fakefilesystem.FakeFileSystem import okio.use import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Assertions.assertArrayEquals
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0)