Skip to content

Use socketio with uWebsockets #3639

Answered by Ruby184
steveyout asked this question in Help
Discussion options

You must be logged in to vote

This cannot be used with adonis because Adonis expects node-style http server to listen on. So it will not work because req and res 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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by steveyout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants