1 |
|
2 |
|
3 | import { __extends } from "tslib";
|
4 | import { FetchHttpClient, } from "./fetchHttpClient";
|
5 | var BrowserFetchHttpClient = (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));
|
21 | export { BrowserFetchHttpClient };
|
22 |
|
\ | No newline at end of file |