I’m using @aurelia/fetch-client
, and it’s working fine for fetching. I assume this is the replacement for aurelia-fetch-client
/aurelia-http-client
, and includes HttpClient
.
If that’s so, HttpClient v1 used to have methods for file upload progress: withProgressCallback()
:
httpClient.createRequest('/blah')
.asPost()
.withContent(...)
.withProgressCallback(updateProgress)
.send();
It looks like that’s removed from @aurelia/fetch-client
. How do I get that functionality back? There is practically no documentation for the API regarding this class, and the guide is still referencing the old libraries.