Preset for Azure Functions V4 with HTTP Streaming
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
- [ ] Would you be willing to help implement this feature?
Opened a WIP pull request https://github.com/unjs/nitro/pull/2477
Other than patching the Azure functions runtime preset here https://github.com/nitrojs/nitro/blob/v2/src/presets/azure/runtime/azure-functions.ts#L28 to load the body to memory before returning it, is there anything else I can do?