question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to read upload progress of an HTTP request

See original GitHub issue

I want to ask how to achieve getting the upload progress of an HTTP request when using the axios driver and redux-saga with redux-requests.

I read something about a redux-saga eventChannel here but you need to wrap the XMLHttpRequest into it which somehow breaks the idea of using the axios driver.

Does “letting redux-requests handle upload/download progress events” has been put to any roadmap so far? Or can this already be solved?

Thx!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
iwan-uschkacommented, Dec 17, 2020

Jap. Indeed. Thx. Case closed 😃

1reaction
klis87commented, Dec 2, 2020

@iwan-uschka Released in 1.3.0, see release and docs for the usage! Please let me know if it works as expected, thx again for the idea!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upload progress indicators for fetch? - Stack Overflow
Instead of fetch() , it's possible to use XMLHttpRequest to track upload progress — the xhr. upload object emits a progress event. Possible...
Read more >
How to monitor the progress of a Javascript fetch - request and ...
Monitor the download progress while making an HTTP request. ... One for whenever a data chunk is read, event fetch-progress .
Read more >
Session Upload Progress - Manual - PHP
The upload progress will be available in the $_SESSION superglobal when an upload is in progress, and when POSTing a variable of the...
Read more >
Monitoring the Progress of an HTTP Request in JavaScript
To find out the progress of an XHR request, including both upload and download progress, we need to listen for an event. In...
Read more >
Uploading files with progress monitoring in VanillaJS, Angular ...
open("POST", "http://foo.com/submitform.php"); request.send(formData);. That we'll use here. Step 3: Let's upload a file. It's time.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found