You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
537 B
15 lines
537 B
4 months ago
|
import { __extends } from "tslib";
|
||
|
import { ApolloLink } from "../core/index.js";
|
||
|
import { createHttpLink } from "./createHttpLink.js";
|
||
|
var HttpLink = /** @class */ (function (_super) {
|
||
|
__extends(HttpLink, _super);
|
||
|
function HttpLink(options) {
|
||
|
if (options === void 0) { options = {}; }
|
||
|
var _this = _super.call(this, createHttpLink(options).request) || this;
|
||
|
_this.options = options;
|
||
|
return _this;
|
||
|
}
|
||
|
return HttpLink;
|
||
|
}(ApolloLink));
|
||
|
export { HttpLink };
|
||
|
//# sourceMappingURL=HttpLink.js.map
|