Is it possible to provide nitro websocket handlers? #1504
Answered
by
hardywu
johanalkstal
asked this question in
Q&A
-
Nitro supports acting like a websocket server. The feature is experimental but it can be turned on in solid-start via
But now you also need to define a handler to handle those connections in your routes. https://nitro.unjs.io/guide/websocket I can't see a way to do this with solid-start api routes. I suspect it's not possible at this time but maybe I'm missing something? |
Beta Was this translation helpful? Give feedback.
Answered by
hardywu
May 31, 2024
Replies: 1 comment 1 reply
-
It's doable. Check the doc PR: solidjs/solid-docs#760 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
johanalkstal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's doable. Check the doc PR: solidjs/solid-docs#760