Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for onReadPing (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

      interface FrameCallback {
        @Throws(IOException::class)
        fun onReadMessage(text: String)
    
        @Throws(IOException::class)
        fun onReadMessage(bytes: ByteString)
    
        fun onReadPing(payload: ByteString)
    
        fun onReadPong(payload: ByteString)
    
        fun onReadClose(
          code: Int,
          reason: String,
        )
      }
    
      /**
       * Process the next protocol frame.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

            events.add(Message(string = text))
          }
    
          override fun onReadMessage(bytes: ByteString) {
            events.add(Message(bytes = bytes))
          }
    
          override fun onReadPing(payload: ByteString) {
            events.add(Ping(payload))
          }
    
          override fun onReadPong(payload: ByteString) {
            events.add(Pong(payload))
          }
    
          override fun onReadClose(
    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)
Back to Top