Skip to content
← Back to Community
Connect To Server Websocket
Profile icon
JakeHu2020

I'm Trying to create a small app to practice with websockets on html. How do I make the websocket successfully connect to a page like this:

WSS.socket=new WebSocket('wss://WSS.jakehu2020.repl.co/socket');
Voters
Profile icon
JakeHu2020
Profile icon
AndrewJefferso1