django-ninja
django-ninja copied to clipboard
StreamingHttpResponse in Ninja
Core Django lets you incorporate a StreamingHttpResponse.
I see in the docs there's the ability in Ninja to handle other renderers. Is it possible to stream a response back using this functionality?
You can return a StreamingHttpResponse from a ninja api function.
I think there is an example on how to do this here: https://github.com/vitalik/django-ninja/issues/919