@dooboostore/simple-boot-http-server
Version:
back end http server frameworks
40 lines (39 loc) • 1.48 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var HttpMethod_exports = {};
__export(HttpMethod_exports, {
HttpMethod: () => HttpMethod
});
module.exports = __toCommonJS(HttpMethod_exports);
var HttpMethod = /* @__PURE__ */ ((HttpMethod2) => {
HttpMethod2["GET"] = "GET";
HttpMethod2["POST"] = "POST";
HttpMethod2["PUT"] = "PUT";
HttpMethod2["DELETE"] = "DELETE";
HttpMethod2["PATCH"] = "PATCH";
HttpMethod2["HEAD"] = "HEAD";
HttpMethod2["OPTIONS"] = "OPTIONS";
HttpMethod2["TRACE"] = "TRACE";
HttpMethod2["CONNECT"] = "CONNECT";
return HttpMethod2;
})(HttpMethod || {});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
HttpMethod
});
//# sourceMappingURL=HttpMethod.js.map