Class PingWebSocketFrame

    • Constructor Detail

      • PingWebSocketFrame

        public PingWebSocketFrame​(Buffer binaryData)
        Creates a new ping frame with the specified binary data.
        Parameters:
        binaryData - the content of the frame.
      • PingWebSocketFrame

        public PingWebSocketFrame​(boolean finalFragment,
                                  int rsv,
                                  Buffer binaryData)
        Creates a new ping frame with the specified binary data.
        Parameters:
        finalFragment - flag indicating if this frame is the final fragment
        rsv - reserved bits used for protocol extensions
        binaryData - the content of the frame.