TransportCompression
@discordeno/gateway • Docs
Documentation / @discordeno/gateway / 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
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