- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for openResponseBodySource (0.08 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt
fun readResponseHeaders(expectContinue: Boolean): Response.Builder? @Throws(IOException::class) fun reportedContentLength(response: Response): Long @Throws(IOException::class) fun openResponseBodySource(response: Response): Source /** Returns the trailers after the HTTP response if they're ready. May be empty. */ @Throws(IOException::class) fun peekTrailers(): Headers? /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 3.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
} } override fun reportedContentLength(response: Response): Long = when { !response.promisesBody() -> 0L else -> response.headersContentLength() } override fun openResponseBodySource(response: Response): Source = stream!!.source override fun peekTrailers(): Headers? = stream!!.peekTrailers() override fun cancel() { canceled = true stream?.closeLater(ErrorCode.CANCEL)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 7K bytes - Click Count (0)