cdk-rs icon indicating copy to clipboard operation
cdk-rs copied to clipboard

Support for Streaming data in API Calls

Open dontdothatjoel opened this issue 1 year ago • 0 comments

I am interested in knowing if there are any plans to enhance the CanisterHttpRequestArgument to support streaming data or blobs. Specifically, I'm looking for functionality similar to reqwest::Body::wrap_stream(reader) in the reqwest crate, which allows for streaming large amounts of data efficiently.

This feature would be particularly useful for scenarios where large files or data streams need to be handled without loading the entire content into memory, thus reducing memory usage and improving performance.

dontdothatjoel avatar Sep 03 '24 18:09 dontdothatjoel