Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for handleWebSocketUpgrade (0.09 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

              "websocket".equals(request.headers["Upgrade"], ignoreCase = true)
          val responseWantsWebSockets = response.webSocketListener != null
          if (requestWantsWebSockets && responseWantsWebSockets) {
            handleWebSocketUpgrade(socket, source, sink, request, response)
            reuseSocket = false
          } else {
            writeHttpResponse(socket, sink, response)
          }
    
          if (logger.isLoggable(Level.FINE)) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top