"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.webHTTP = webHTTP;
const NOOP_1 = require("../../../../NOOP");
const intercept_1 = require("./intercept");
function webHTTP(window, opt) {
    const { fetch } = window;
    const http = {
        fetch: (0, intercept_1.__intercept__fetch)(fetch),
        listen: (0, intercept_1.__intercept__listen)(() => NOOP_1.NOOP),
        // @ts-ignore
        EventSource: window.EventSource,
    };
    return http;
}
//# sourceMappingURL=http.js.map