Table of Contents

Property CompressionLevel

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

CompressionLevel

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 CompressionLevel { set; }

Property Value

GatewayCompressionLevel