refactor: use streams for streaming responses #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor/granc-core-proper-stream-handling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR is a continuation of: https://github.com/JasterV/granc/pull/59
At the time I implemented stream responses with a simple vector, but that is not ideal since it loads the whole stream in memory.
This improves that by using a boxed stream that can be returned to the caller for them to decide how to consume it.
d37fac4676to43acb93dd1