Table of Contents

Property EnableStreamingDeserialization

Namespace
DSharpPlus.Net.Gateway
Assembly
DSharpPlus.dll

EnableStreamingDeserialization

Toggles the use of streams for deserializing inbound gateway events. Enabling this will increase the total allocation volume of the gateway, but decrease the maximum size of allocations and may reduce object longevity.

public bool EnableStreamingDeserialization { get; set; }

Property Value

bool

Remarks

This option will be automatically disabled if trace logs are enabled and EnableInboundGatewayLogging is enabled (as it is by default). Please refer to our article on trace logging to learn how to modify this option.