Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runWriter (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        messageAndCloseQueue.add(Message(formatOpcode, data))
        runWriter()
        return true
      }
    
      @Synchronized fun pong(payload: ByteString): Boolean {
        // Don't send pongs after we've failed or sent the close frame.
        if (failed || enqueuedClose && messageAndCloseQueue.isEmpty()) return false
    
        pongQueue.add(payload)
        runWriter()
        return true
      }
    
      override fun close(
        code: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top