unjs / nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
https://nitro.unjs.io
MIT License
5.43k stars 469 forks source link

Preset for Azure Functions V4 with HTTP Streaming #2478

Open supersoniko opened 1 month ago

supersoniko commented 1 month ago

Describe the feature

The current azure-functions preset still uses the old Azure function runtime programming model which does not support HTTP Streaming. In the Azure Function V4 runtime support for HTTP Streaming is currently in preview: https://techcommunity.microsoft.com/t5/apps-on-azure-blog/azure-functions-support-for-http-streams-in-node-js-is-now-in/ba-p/4066575

With HTTP Streaming, we can use Azure Functions as a runtime for applications like Solid Start, which require HTTP Streaming to fully function.

Additional information

supersoniko commented 1 month ago

Opened a WIP pull request https://github.com/unjs/nitro/pull/2477