Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for reconnectingToNonWebSocket (0.13 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        webSocket.send("hello")
        webSocket.close(1000, null)
      }
    
      /** https://github.com/square/okhttp/issues/7768  */
      @Test
      @Throws(InterruptedException::class)
      fun reconnectingToNonWebSocket() {
        for (i in 0..29) {
          webServer.enqueue(
            MockResponse
              .Builder()
              .bodyDelay(100, TimeUnit.MILLISECONDS)
              .body("Wrong endpoint")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top