TransportCompression
Documentation / @discordeno/bot / TransportCompression
Enumeration: TransportCompression
Defined in: packages/gateway/dist/types/types.d.ts:19
Enumeration Members
zlib
zlib:
"zlib-stream"
Defined in: packages/gateway/dist/types/types.d.ts:28
ZLib-Stream Transport Compression.
Remarks
Uses node:zlib
to decompress the payloads
See
https://discord.com/developers/docs/topics/gateway#zlibstream
zstd
zstd:
"zstd-stream"
Defined in: packages/gateway/dist/types/types.d.ts:37
ZStd-Stream Transport Compression.
Remarks
Uses fzstd
to decompress the payloads. fzstd
is an optional dependency, it is required to be installed for this compression.
See
https://discord.com/developers/docs/topics/gateway#zstdstream