Table of Contents

Property GatewayCompressionLevel

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

GatewayCompressionLevel

Sets the level of compression for WebSocket traffic.

Disabling this option will increase the amount of traffic sent via WebSocket. Setting Payload will enable compression for READY and GUILD_CREATE payloads. Setting Stream will enable compression for the entire WebSocket stream, drastically reducing amount of traffic.

Defaults to Stream.

public GatewayCompressionLevel GatewayCompressionLevel { set; }

Property Value

GatewayCompressionLevel