- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for nextEvent (0.1 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt
assertThat(nextEvent()).isEqualTo(Ping(payload)) } fun assertPong(payload: ByteString) { assertThat(nextEvent()).isEqualTo(Pong(payload)) } fun assertClosing( code: Int, reason: String, ) { assertThat(nextEvent()).isEqualTo(Closing(code, reason)) } fun assertClosed( code: Int, reason: String, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 6.8K bytes - Click Count (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
val event = nextEvent() as Open return event.eventSource } fun assertClose() { nextEvent() as Closed } fun assertFailure( message: String?, code: Int? = null, ) { val event = nextEvent() as Failure if (code != null) { assertThat(event.response?.code).isEqualTo(code) } if (message != null) { assertThat(event.message).isEqualTo(message)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 11:32:52 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/Dispatcher.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.4K bytes - Click Count (0)