Table of Contents

Delegate WebSocketClientFactoryDelegate

Namespace
DisCatSharp.Net.WebSocket
Assembly
DisCatSharp.dll

Creates an instance of a WebSocket client implementation.

public delegate IWebSocketClient WebSocketClientFactoryDelegate(IWebProxy proxy, IServiceProvider provider)

Parameters

proxy IWebProxy

Proxy settings to use for the new WebSocket client instance.

provider IServiceProvider

Service provider.

Returns

IWebSocketClient

Constructed WebSocket client implementation.