- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for commonPeekBody (0.05 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt
@JvmOverloads fun Response.commonHeader( name: String, defaultValue: String?, ): String? = headers[name] ?: defaultValue @Throws(IOException::class) fun Response.commonPeekBody(byteCount: Long): ResponseBody { val peeked = body.source().peek() val buffer = Buffer() peeked.request(byteCount) buffer.write(peeked, minOf(byteCount, peeked.buffer.size))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 5.2K bytes - Viewed (0)