Closed
Description
i read the code of WebSocketClient.class,the method:run() has code blocks:
public void run() {
InputStream istream;
try {
boolean isNewSocket = false;
if (socketFactory != null) {
socket = socketFactory.createSocket();
} else if( socket == null ) {
socket = new Socket( proxy );
isNewSocket = true;
} else if( socket.isClosed() ) {
throw new IOException();
}
i found if i set socketFactory, it won't use the proxy. But wss must set the socketFactory, also it has other method?
thanks