Delegate WebSocketClientFactoryDelegate
Creates an instance of a WebSocket client implementation.
Namespace: KSharpPlus.Net.WebSocket
Assembly: KSharpPlus.dll
Syntax
public delegate IWebSocketClient WebSocketClientFactoryDelegate(IWebProxy proxy);
Parameters
| Type | Name | Description |
|---|---|---|
| IWebProxy | proxy | Proxy settings to use for the new WebSocket client instance. |
Returns
| Type | Description |
|---|---|
| IWebSocketClient | Constructed WebSocket client implementation. |