AngularJS - How to handle "chunked" data using $ http?
Currently the following snippet is implemented, which is just a basic GET call:
$http.get(url,
{
params: ...,
responseType: 'json'
}
).then(
function success(response) {
...
},
function failure(reason) {
...
}
);
I would like to extend it for support Transfer-Encoding: chunked
so that I can gradually load the results to the screen as they appear. Is this currently possible with $http
(angular @ 1.5.11)?
+3
source to share
No one has answered this question yet
Check out similar questions: