- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for peekTrailers (0.1 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
} catch (e: IOException) { eventListener.responseFailed(call, e) trackFailure(e) throw e } } @Throws(IOException::class) fun peekTrailers(): Headers? = codec.peekTrailers() fun upgradeToSocket(): Socket { call.timeoutEarlyExit() (codec.carrier as RealConnection).useAsSocket() eventListener.requestBodyStart(call)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
!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) } companion object { private const val CONNECTION = "connection"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 21:11:09 UTC 2025 - 7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt
@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? /** * Cancel this stream. Resources held by this stream will be cleaned up, though not synchronously. * That may happen later by the connection pool thread. */ fun cancel() /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 21:11:09 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 7.8K bytes - Viewed (0)