WebSocketResource constructor

WebSocketResource()