- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for GzipSource (0.06 seconds)
-
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
import okhttp3.internal.charsetOrUtf8 import okhttp3.internal.http.promisesBody import okhttp3.internal.isProbablyUtf8 import okhttp3.internal.platform.Platform import okio.Buffer import okio.GzipSource /** * An OkHttp interceptor which logs request and response information. Can be applied as an * [application interceptor][OkHttpClient.interceptors] or as a [OkHttpClient.networkInterceptors]. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 11.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
import okhttp3.RequestBody.Companion.toRequestBody import okhttp3.internal.EmptyTags import okio.Buffer import okio.ByteString.Companion.decodeHex import okio.ByteString.Companion.encodeUtf8 import okio.GzipSource import okio.buffer import okio.use import org.junit.jupiter.api.Test class RequestTest { @Test fun constructor() { val url = "https://example.com/".toHttpUrl() val body = "hello".toRequestBody()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 24.6K bytes - Click Count (0)