- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for receiveData (0.1 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
if (source.finished && sink.finished) { return false } } connection.removeStream(id) return true } @Throws(IOException::class) fun receiveData( source: BufferedSource, length: Int, ) { lock.assertNotHeld() this.source.receive(source, length.toLong()) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 23.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
writeSynResetLater(streamId, ErrorCode.PROTOCOL_ERROR) updateConnectionFlowControl(length.toLong()) source.skip(length.toLong()) return } dataStream.receiveData(source, length) if (inFinished) { dataStream.receiveHeaders(EMPTY_HEADERS, true) } } override fun headers( inFinished: Boolean, streamId: Int,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 32.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
val receivedAt = System.currentTimeMillis() recordedResponse.assertCode(200) .assertSuccessful() .assertHeaders( Headers.Builder() .add("content-type", "text/plain") .add("content-length", "3") .build(), ) .assertBody("abc") .assertSentRequestAtMillis(sentAt, receivedAt)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0)