nitrojs / nitro

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

Preset for Azure Functions V4 with HTTP Streaming #2478

Open supersoniko opened 5 months ago

supersoniko commented 5 months 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 5 months ago

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