enum Discord::Client::CompressMode

Overview

Available gateway compression modes that can be requested

Defined in:

discordcr/client.cr

Enum Members

None = 0

Discord won't send any compressed data

Large = 1

Large payloads (typically GUILD_CREATE) will be received compressed

Stream = 2

All data will be received in a compressed stream

Instance Method Summary

Instance Method Detail

def large? #

[View source]
def none? #

[View source]
def stream? #

[View source]