curveball / core

The Curveball framework is a TypeScript framework for node.js with support for modern HTTP features.
https://curveballjs.org/
MIT License
525 stars 7 forks source link

Added support for getting the request stream #106

Closed evert closed 5 years ago

evert commented 5 years ago

When dealing with large request bodies, it's often desirable to work on streams instead of parsed bodies.

This PR adds a getStream() function to the request that returns a Node.js stream.