DEV Community

Discussion on: Getting started with Web Sockets in NodeJS

Collapse
 
lucidmach profile image
Nukala Suraj

umm nope... "myWebsocket" in the url is the route that websocket supported

Collapse
 
hello_i_am_nice profile image
Maria

we have to implement this route by ourselves? or I cant understand how to connect frontend with this route? In node.js code snippet I dont see anything about this route

Thread Thread
 
behzadkhodapanah1993 profile image
Behzad Khodapanah

myWebsocket is a namespace, You can change it for whatever you want to, and in your html you must connect to your namespace. good luck