-
According to socketio you can use other websocket implementations.I want to use uWebsockets since i have seen its incredibly fast and performant.So how can i implement it in adonisjs applications.I followed the socketio cookbook in the adonisjs docs. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This cannot be used with adonis because Adonis expects node-style http server to listen on. So it will not work because |
Beta Was this translation helpful? Give feedback.
This cannot be used with adonis because Adonis expects node-style http server to listen on. So it will not work because
req
andres
are not compatible with node implementations.You can boot and listen uWebsockets server inside adonis provider to bind socket.io on it, but it will have to use another port (different from adonis is listening on), so in my opinion there is no point of doing so.