Interface WebSocketReader.FrameCallback

All Known Implementing Classes:
RealWebSocket
Enclosing class:
WebSocketReader

public static interface WebSocketReader.FrameCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onReadClose(int code, String reason)
     
    void
     
    void
    onReadMessage(org.miaixz.bus.core.io.ByteString bytes)
     
    void
    onReadPing(org.miaixz.bus.core.io.ByteString buffer)
     
    void
    onReadPong(org.miaixz.bus.core.io.ByteString buffer)
     
  • Method Details

    • onReadMessage

      void onReadMessage(String text) throws IOException
      Throws:
      IOException
    • onReadMessage

      void onReadMessage(org.miaixz.bus.core.io.ByteString bytes) throws IOException
      Throws:
      IOException
    • onReadPing

      void onReadPing(org.miaixz.bus.core.io.ByteString buffer)
    • onReadPong

      void onReadPong(org.miaixz.bus.core.io.ByteString buffer)
    • onReadClose

      void onReadClose(int code, String reason)