W
Wasp-lang14mo ago
izno

[SOLVED] Websocket implementation

Hey ! Has anyone tried implementing websockets ?
6 Replies
Zeko369
Zeko36914mo ago
Here is how to add custom code to your backend
Zeko369
Zeko36914mo ago
Then just add your fav WS lib and you're good to go
izno
izno14mo ago
Thanks a lot !
shayne
shayne14mo ago
Yep, and specifically:
The setupFn function receives the express.Application and the http.Server instances as part of its context. They can be useful for setting up any custom server routes or for example, setting up socket.io.
martinsos
martinsos14mo ago
Additionally, @shayne is now working on proper websocket support, so it will be even easier in the future!