Can anyone tell me how to get the websocket url for site?
My site is https://example.com. I have got websocket installed by my hosting provider. But when creating a new connection via websocket url. What will be the url?
Currently I have tried following:-
socket = new WebSocket('wss://example.com');
socket = new WebSocket('wss://example.com:9000');
socket = new WebSocket('wss://example.com:12345/test');
None of the above works. My main objective is to get websocket working so that continuous ajax calls are not made in chat script I am creating in php. Thank you all!!