From b139abfc36d741b8a9075efed73e6df340175e9a Mon Sep 17 00:00:00 2001 From: Ian Wijma Date: Wed, 26 Feb 2020 13:28:49 +1100 Subject: [PATCH] Add `onUploadProgress` and `onDownloadProgress` are browser only (#2763) Saw in #928 and #1966 that `onUploadProgress` and `onDownloadProgress` only work in the browser and was missing that from the README. Co-authored-by: Xianming Zhong --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 25e49d9..589a591 100755 --- a/README.md +++ b/README.md @@ -347,11 +347,13 @@ These are the available config options for making requests. Only the `url` is re xsrfHeaderName: 'X-XSRF-TOKEN', // default // `onUploadProgress` allows handling of progress events for uploads + // browser only onUploadProgress: function (progressEvent) { // Do whatever you want with the native progress event }, // `onDownloadProgress` allows handling of progress events for downloads + // browser only onDownloadProgress: function (progressEvent) { // Do whatever you want with the native progress event },