You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, Controller methods are returning a single response object that's later written to the HTTP response body.
Let's add support for two more advanced response modes:
A method returning an async iterator instead of in-memory array instance - see e.g. KeyValueModel.iterateKeys
A method returning a readable stream. The stream can be either "regular" text/binary stream, but also a stream in object mode, where the framework is expected to serialize the objects to JSON/XML/etc.
The text was updated successfully, but these errors were encountered:
I am closing this issue because we are not going to have time to work on this in the next 6-9 months. However, we are happy to accept a pull request contributing this feature.
Right now, Controller methods are returning a single response object that's later written to the HTTP response body.
Let's add support for two more advanced response modes:
A method returning an async iterator instead of in-memory array instance - see e.g. KeyValueModel.iterateKeys
A method returning a readable stream. The stream can be either "regular" text/binary stream, but also a stream in object mode, where the framework is expected to serialize the objects to JSON/XML/etc.
The text was updated successfully, but these errors were encountered: