UNPKG
object-storage-js
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
js直传server、minio、obs、oss、s3系列
object-storage-js
/
lib
/
utils
/
httpRequest.d.ts
12 lines
(11 loc)
•
282 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
interface
ProgressCallback
{
loaded
:
number
;
total
:
number
; }
export
declare
function
httpRequest
(
options
: { method:
string
; url:
string
; data?:
any
; xhrInstance?:
any
; onProgress?: (params: ProgressCallback) =>
void
; }
):
Promise
<
any
>;