Table of Contents

Property WebSocketClientFactory

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

WebSocketClientFactory

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

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

Defaults to CreateNew(IWebProxy, IServiceProvider).

[Deprecated("Use Gateway.WebSocketClientFactory instead. This property will be removed in a future version.")]
public WebSocketClientFactoryDelegate WebSocketClientFactory { set; }

Property Value

WebSocketClientFactoryDelegate