re-frame-http-fx icon indicating copy to clipboard operation
re-frame-http-fx copied to clipboard

Support for request progress monitoring

Open p-himik opened this issue 8 years ago • 1 comments

I guess it's not that hard to implement given that request->xhrio-options already creates goog.net.XhrIo that supports setProgressEventsEnabled.

p-himik avatar Feb 05 '17 14:02 p-himik

Providing a :progress-handler key works:

{:http-xhrio {:progress-handler #(dispatch [::upload-progress %])
              ; ...
              }}

But this very much tied to request->xhrio-options here, and goog.net.XhrIo according to the cljs-ajax README.

kennethkalmer avatar Jan 27 '20 16:01 kennethkalmer