Interface PayloadGenerator

  • public interface PayloadGenerator
    Payload generator.

    Read included Apache License 2.0: HERE

    All NeoVisionaries.WebSockets.* Code Obtained From: GitHub 'NV'  (Takahiko Kawasaki)  Public Archive.

    • Method Detail

      • generate

        byte[] generate()
        Generate a payload of a frame.

        Note that the maximum payload length of control frames (e.g. ping frames) is 125 in bytes. Therefore, the length of a byte array returned from this method must not exceed 125 bytes.

        A payload of a frame.