UNPKG

523 BJavaScriptView Raw
1import { __extends } from "tslib";
2import { ApolloLink } from "../core/index.js";
3import { createHttpLink } from "./createHttpLink.js";
4var HttpLink = (function (_super) {
5 __extends(HttpLink, _super);
6 function HttpLink(options) {
7 if (options === void 0) { options = {}; }
8 var _this = _super.call(this, createHttpLink(options).request) || this;
9 _this.options = options;
10 return _this;
11 }
12 return HttpLink;
13}(ApolloLink));
14export { HttpLink };
15//# sourceMappingURL=HttpLink.js.map
\No newline at end of file