Support for Streaming data in API Calls
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 230
- Forks
- 103
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the CanisterHttpRequestArgument API and compare its current data handling with reqwest::Body::wrap_stream(reader). Define how streaming input should be represented and verified, with done meaning large request bodies can be sent without loading the entire content into memory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100