UNPKG

979 BJavaScriptView Raw
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT License. See License.txt in the project root for license information.
3import { __extends } from "tslib";
4import { FetchHttpClient, } from "./fetchHttpClient";
5var BrowserFetchHttpClient = /** @class */ (function (_super) {
6 __extends(BrowserFetchHttpClient, _super);
7 function BrowserFetchHttpClient() {
8 return _super !== null && _super.apply(this, arguments) || this;
9 }
10 BrowserFetchHttpClient.prototype.prepareRequest = function (_httpRequest) {
11 return Promise.resolve({});
12 };
13 BrowserFetchHttpClient.prototype.processRequest = function (_operationResponse) {
14 return Promise.resolve();
15 };
16 BrowserFetchHttpClient.prototype.fetch = function (input, init) {
17 return fetch(input, init);
18 };
19 return BrowserFetchHttpClient;
20}(FetchHttpClient));
21export { BrowserFetchHttpClient };
22//# sourceMappingURL=browserFetchHttpClient.js.map
\No newline at end of file