Method CreateNew
- Namespace
- DisCatSharp.Net.WebSocket
- Assembly
- DisCatSharp.dll
CreateNew(IWebProxy, IServiceProvider)
Creates a new instance of WebSocketClient.
public static IWebSocketClient CreateNew(IWebProxy proxy, IServiceProvider provider)
Parameters
proxy
IWebProxyProxy to use for this client instance.
provider
IServiceProviderService provider.
Returns
- IWebSocketClient
An instance of WebSocketClient.