尝试将WebSocket4Net连接到代理,以便可以在fiddler中进行调试。但是,当触发.Open()方法时,在SuperSocket.ClientEngine.Proxy中的Connect方法中,remoteEndPoint为null的异常。
var proxy = new HttpConnectProxy(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 8888));
_socket.Proxy = (SuperSocket.ClientEngine.IProxyConnector)proxy;
_socket.Open();