-
Just curious - can I use the same HTTP server for routes AND sockets? Or do I need to use 2 separate servers? |
Beta Was this translation helpful? Give feedback.
Answered by
rgillan
Aug 15, 2024
Replies: 1 comment
-
So we are happily using the same Bun.serve to service HTTP and WebSockets, just add the required fetch and websocket sections. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So we are happily using the same Bun.serve to service HTTP and WebSockets, just add the required fetch and websocket sections.