DEV Community

Discussion on: You don't need express to get started with socket.io

Collapse
 
rbuubr profile image
Kirill Tatchihin

And what's up next? Are there any special options to control events on the client-side?

Collapse
 
sadick profile image
Sadick

Socket.io has a client api which specifies the options available.

Collapse
 
rbuubr profile image
Kirill Tatchihin

imho, I think, it will be better to provide example

Thread Thread
 
sadick profile image
Sadick

Sure. I will include an example on the post and notify you once its up.

Collapse
 
sadick profile image
Sadick

I have included a piece on the client on how to consume the socket io event emitted from the server. Is it sufficient?