1 | ;
|
2 | /**
|
3 | * -------------------------------------------------------------------------------------------
|
4 | * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
|
5 | * See License in the project root for license information.
|
6 | * -------------------------------------------------------------------------------------------
|
7 | */
|
8 | Object.defineProperty(exports, "__esModule", { value: true });
|
9 | exports.ResponseType = void 0;
|
10 | /**
|
11 | * @enum
|
12 | * Enum for ResponseType values
|
13 | * @property {string} ARRAYBUFFER - To download response content as an [ArrayBuffer]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer}
|
14 | * @property {string} BLOB - To download content as a [binary/blob] {@link https://developer.mozilla.org/en-US/docs/Web/API/Blob}
|
15 | * @property {string} DOCUMENT - This downloads content as a document or stream
|
16 | * @property {string} JSON - To download response content as a json
|
17 | * @property {string} STREAM - To download response as a [stream]{@link https://nodejs.org/api/stream.html}
|
18 | * @property {string} TEXT - For downloading response as a text
|
19 | */
|
20 | var ResponseType;
|
21 | (function (ResponseType) {
|
22 | ResponseType["ARRAYBUFFER"] = "arraybuffer";
|
23 | ResponseType["BLOB"] = "blob";
|
24 | ResponseType["DOCUMENT"] = "document";
|
25 | ResponseType["JSON"] = "json";
|
26 | ResponseType["RAW"] = "raw";
|
27 | ResponseType["STREAM"] = "stream";
|
28 | ResponseType["TEXT"] = "text";
|
29 | })(ResponseType = exports.ResponseType || (exports.ResponseType = {}));
|
30 | //# sourceMappingURL=ResponseType.js.map |
\ | No newline at end of file |