Is is possible to utilize Socket.IO while using Bun + Hono? #14772
Unanswered
luisvinicius09
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have scoured the internet over the simple idea if this is possible or not to pass the Bun.serve to Socket.io, I have found people saying it is but I couldn't find a piece of code that confirms it.
What I'm trying to do (Actual code follows below the image)
I just wish to simply pass the Bun server to Socket.IO instance, like I'm able with Node.js or something similar
Similiar code that just works
But forces me to use another port
Simple code that looks like a dream and my goal
Actually comes from Socket.IO docs
Related:
Looking for actual examples and solutions
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions