Class PongWebSocketFrame

    • Constructor Detail

      • PongWebSocketFrame

        public PongWebSocketFrame​(io.netty5.buffer.api.Buffer binaryData)
        Creates a new pong frame with the specified binary data.
        Parameters:
        binaryData - the content of the frame.
      • PongWebSocketFrame

        public PongWebSocketFrame​(io.netty5.buffer.api.Send<io.netty5.buffer.api.Buffer> binaryData)
        Creates a new pong frame with the specified binary data.
        Parameters:
        binaryData - the content of the frame.
      • PongWebSocketFrame

        public PongWebSocketFrame​(boolean finalFragment,
                                  int rsv,
                                  io.netty5.buffer.api.Buffer binaryData)
        Creates a new pong 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>