Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocket Support #108

Closed
pi0 opened this issue Aug 28, 2023 · 2 comments
Closed

WebSocket Support #108

pi0 opened this issue Aug 28, 2023 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@pi0
Copy link
Member

pi0 commented Aug 28, 2023

[description is wip]

Since Nuxt 3, we had (semi-official) solutions to support WebSocket in development and production but never a standard layer. This had been something we planned to support universally in nuxt/nitro dev server and runtime.

With the introduction of new dev server CLI architecture in nuxi 3.7 (#81) some of the current solutions stooped to be working.

My plan is to first make sure there is a basic replacement for current solutions and then put the stable WS layer on fast track to finally resolve this. (Update: hooking to the server upgrade via listen should work again now via #127)

Related issues:

@pi0 pi0 added bug Something isn't working enhancement New feature or request labels Aug 28, 2023
@pi0 pi0 self-assigned this Aug 28, 2023
@pi0 pi0 changed the title WebSocket Support (Dev) WebSocket Support Aug 28, 2023
@pi0 pi0 changed the title (Dev) WebSocket Support WebSocket Support Aug 30, 2023
@pi0
Copy link
Member Author

pi0 commented Feb 26, 2024

Experimental websocket is available in nightly channels.

See https://github.com/pi0/nuxt-websocket

@pi0
Copy link
Member Author

pi0 commented Mar 18, 2024

CLI support landing: #348

Note: Some features such as supporting devHandlers are not complete yet and need progress on Nitro side. You can track via https://nitro.unjs.io/guide/websocket and nitrojs/nitro#2171

@pi0 pi0 closed this as completed Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant