Class RealtimePayloadHandler

Works with payload. Dont compress the data.

Hierarchy

Constructors

Methods

Constructors

Methods

  • Parameters

    • data: Buffer

    Returns Promise<Buffer>

  • Prepares the data to be sent. This method "converts" the input to a Buffer to be sent as a payload.

    Parameters

    • payload: string | object | any[] | Buffer

    Returns Promise<Buffer>