TransportCompression
@discordeno/bot • Docs
Documentation / @discordeno/bot / TransportCompression
Enumeration: TransportCompression
Enumeration Members
zlib
zlib:
"zlib-stream"
ZLib-Stream Transport Compression.
Remarks
Uses node:zlib
to decompress the payloads
See
https://discord.com/developers/docs/topics/gateway#zlibstream
Defined in
packages/gateway/dist/types/types.d.ts:28
zstd
zstd:
"zstd-stream"
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
Defined in
packages/gateway/dist/types/types.d.ts:37