Class PingWebSocketFrame

    • Constructor Detail

      • PingWebSocketFrame

        public PingWebSocketFrame​(io.netty5.buffer.api.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,
                                  io.netty5.buffer.api.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.
    • Method Detail

      • receive

        protected WebSocketFrame receive​(io.netty5.buffer.api.Buffer buf)
        Specified by:
        receive in class io.netty5.buffer.api.BufferHolder<WebSocketFrame>