Table of Contents

Property UdpClientFactory

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

UdpClientFactory

Sets the factory method used to create instances of UDP clients.

Use DSharpPlus.Net.Udp.DspUdpClient.CreateNew() and equivalents on other implementations to switch out client implementations.

Defaults to DSharpPlus.Net.Udp.DspUdpClient.CreateNew().

public UdpClientFactoryDelegate UdpClientFactory { set; }

Property Value

UdpClientFactoryDelegate