- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for toResponseBody (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
responseBody.close() responseBody = "".toResponseBody("".toMediaType()) responseBody = "".toResponseBody(null) responseBody = ByteString.EMPTY.toResponseBody("".toMediaType()) responseBody = ByteString.EMPTY.toResponseBody(null) responseBody = byteArrayOf(0, 1).toResponseBody("".toMediaType()) responseBody = byteArrayOf(0, 1).toResponseBody(null)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
* .request(chain.request()) * .protocol(Protocol.HTTP_1_1) * .code(400) * .message("client config invalid") * .body("client config invalid".toResponseBody(null)) * .build() * } * * return chain.proceed(chain.request()) * } * ``` */ fun interface Interceptor { @Throws(IOException::class) fun intercept(chain: Chain): Response
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 8.9K bytes - Click Count (0)