For opening WebSocket we call WebSocket constructor. The syntax is
var conn=new WebSocket(‘ws://rtyyghj.websocket.org/echo’,[‘brush’, ‘xmpp’]);
Previous Question Next Question
Your comments will be displayed only after manual approval.