"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.webHTTP = void 0;
const NOOP_1 = require("../../../../NOOP");
function webHTTP(window, opt) {
    const { fetch } = window;
    const HTTPServer = (opt) => {
        return {
            listen(port) {
                return NOOP_1.NOOP;
            },
        };
    };
    // TODO
    const http = {
        server: {
            local: HTTPServer,
            cloud: HTTPServer,
        },
        fetch: fetch,
    };
    return http;
}
exports.webHTTP = webHTTP;
//# sourceMappingURL=http.js.map