1 | /**
|
2 | * -------------------------------------------------------------------------------------------
|
3 | * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
|
4 | * See License in the project root for license information.
|
5 | * -------------------------------------------------------------------------------------------
|
6 | */
|
7 | /**
|
8 | * @enum
|
9 | * Enum for ResponseType values
|
10 | * @property {string} ARRAYBUFFER - To download response content as an [ArrayBuffer]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer}
|
11 | * @property {string} BLOB - To download content as a [binary/blob] {@link https://developer.mozilla.org/en-US/docs/Web/API/Blob}
|
12 | * @property {string} DOCUMENT - This downloads content as a document or stream
|
13 | * @property {string} JSON - To download response content as a json
|
14 | * @property {string} STREAM - To download response as a [stream]{@link https://nodejs.org/api/stream.html}
|
15 | * @property {string} TEXT - For downloading response as a text
|
16 | */
|
17 | export declare enum ResponseType {
|
18 | ARRAYBUFFER = "arraybuffer",
|
19 | BLOB = "blob",
|
20 | DOCUMENT = "document",
|
21 | JSON = "json",
|
22 | RAW = "raw",
|
23 | STREAM = "stream",
|
24 | TEXT = "text"
|
25 | }
|