Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for closeReasonMaximumLength (0.43 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        server.close(1000, null)
        clientListener.assertClosing(1000, "")
        clientListener.assertClosed(1000, "")
        serverListener.assertClosed(1001, "")
      }
    
      @Test
      fun closeReasonMaximumLength() {
        webServer.enqueue(
          MockResponse.Builder()
            .webSocketUpgrade(serverListener)
            .build(),
        )
        val clientReason = repeat('C', 123)
        val serverReason = repeat('S', 123)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top