Add support for sending 'raw' requests on Android

request.data can be `Uint8Array` or `ArrayBuffer`. The plugin will send it as is, without any processing.
This commit is contained in:
Pavel Chuchuva
2020-01-12 08:18:02 +11:00
parent 32187a12fe
commit 7ab4b634ca
3 changed files with 9 additions and 1 deletions
+2
View File
@@ -6,6 +6,8 @@ module.exports = {
return 'Array';
case '[object Blob]':
return 'Blob';
case '[object Uint8Array]':
return 'Uint8Array';
case '[object ArrayBuffer]':
return 'ArrayBuffer';
case '[object Boolean]':