Class DeflatePayloadHandler

Just deflates payload

Hierarchy

Constructors

Methods

Constructors

Methods

  • 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>