- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BaseTestHandler (0.1 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/BaseTestHandler.kt
* limitations under the License. */ package okhttp3.internal.http2 import assertk.fail import okio.BufferedSource import okio.ByteString internal open class BaseTestHandler : Http2Reader.Handler { override fun data( inFinished: Boolean, streamId: Int, source: BufferedSource, length: Int, ) { fail("") } override fun headers(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt
frame.writeByte(99) // type 99 frame.writeByte(FLAG_NONE) frame.writeInt(expectedStreamId) frame.writeInt(111111111) // custom data reader.nextFrame(requireSettings = false, BaseTestHandler()) // Should not callback. } @Test fun onlyOneLiteralHeadersFrame() { val sentHeaders = headerEntries("name", "value") val headerBytes = literalHeaders(sentHeaders)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 28.1K bytes - Viewed (0)