Class RealtimePayloadHandler
Constructors
Methods
compress
- compress(data: Buffer): Promise<Buffer>
Returns Promise<Buffer>
prepare
- prepare(payload:
| string
| object
| any[]
| Buffer): Promise<Buffer> Parameters
- payload:
| string
| object
| any[]
| Buffer
Returns Promise<Buffer>
Works with payload. Dont compress the data.