- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for WriteByte (0.2 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
assertFailsWith<ConnectionShutdownException> { connection.newStream(headerEntries("b", "banana"), false) } val sink = stream.getSink().buffer() assertFailsWith<IOException> { sink.writeByte(0) sink.flush() }.also { expected -> assertThat(expected.message).isEqualTo("stream finished") } assertFailsWith<IOException> { stream.getSource().read(Buffer(), 1)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 75.4K bytes - Viewed (0)