Table of Contents

Property WebSocketClientFactory

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

WebSocketClientFactory

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

Use CreateNew(IWebProxy) and equivalents on other implementations to switch out client implementations.

Defaults to CreateNew(IWebProxy).

public WebSocketClientFactoryDelegate WebSocketClientFactory { set; }

Property Value

WebSocketClientFactoryDelegate