- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for takeHeaders (0.1 sec)
-
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
sslSocket.startHandshake() return sslSocket } override fun onStream(stream: Http2Stream) { try { val requestHeaders = stream.takeHeaders() var path: String? = null var i = 0 val size = requestHeaders.size while (i < size) { if (requestHeaders.name(i) == Header.TARGET_PATH_UTF8) { path = requestHeaders.value(i)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
stream!!.getSink().close() } override fun readResponseHeaders(expectContinue: Boolean): Response.Builder? { val stream = stream ?: throw IOException("stream wasn't created") val headers = stream.takeHeaders(callerIsIdle = expectContinue) val responseBuilder = readHttp2HeadersList(headers, protocol) return if (expectContinue && responseBuilder.code == HTTP_CONTINUE) { null } else { responseBuilder
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.9K bytes - Viewed (0)