h3
h3 copied to clipboard
⚡️ Minimal H(TTP) framework built for high performance and portability
### Environment - Operating System: `Darwin` - Node Version: `v21.6.2` - Nuxt Version: `-` - CLI Version: `3.11.1` - Nitro Version: `-` - Package Manager: `[email protected]` - Builder: `-` -...
### Environment - h3 nightly - Nuxt 3.11.1 - Node 18.18.0 ### Reproduction I expected the server to log the message on `eventStream.onClosed` callback but that didn't happen. I also...
### Describe the change The code block with a filename are all gone. After `Using h3, we can do the same thing:` there must be a code block.  ###...
### Environment Nightly version of h3 ### Reproduction Is there a template to start a reproduction? ### Describe the bug If you have a websocket handler and a normal handler...
### Describe the feature I am using websockets in a Nuxt app, and I put my event handler in a parameter-based route, such as `server/api/foo/[id]/ws.ts` I would like to be...
### Environment Nuxt: 3.12.3 Node: 20 ### Reproduction Deploy a basic Nuxt app with an api that returns a web response like ```ts export default function eventHandler((event) => { return...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | autofix-ci/action | action | digest | `dd55f44` -> `2891949` | ---...
I think we can remove this comment having `TODO:` or `I guess` in the code like that. May be.
### Describe the feature Currently the middleware event handlers (with `void` return types) can only be attached with an `App` object, not a `Router`. Not even with a `router.use('/**', middlewareEventHandler)`...
### Environment ------------------------------ - Operating System: Darwin - Node Version: v20.9.0 - Nuxt Version: 3.12.2 - CLI Version: 3.12.0 - Nitro Version: 2.9.7 - Package Manager: [email protected] - Builder: -...