Hi,
I am currently implementing some funcionality for file uploads on top of the HTTP Source. I need to use xhr for getting the progress for the upload.
I wanted to add a functionality that uses xhr instead of fetch, but is still able to use my hooks. Since most of them only set headers anyways this should not be very complicated. The issue I ran into, is that most of the hook and also options manipulation (e.g. for basePath) are not accessible. How would you feel about manually invoking beforeReq, afterReq and getRequestOptions?
Hi,
I am currently implementing some funcionality for file uploads on top of the HTTP Source. I need to use xhr for getting the progress for the upload.
I wanted to add a functionality that uses xhr instead of fetch, but is still able to use my hooks. Since most of them only set headers anyways this should not be very complicated. The issue I ran into, is that most of the hook and also options manipulation (e.g. for basePath) are not accessible. How would you feel about manually invoking beforeReq, afterReq and getRequestOptions?