UNPKG

mockttp

Version:

Mock HTTP server for testing HTTP clients and stubbing webservices

20 lines 840 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RulePriority = exports.Method = exports.DEFAULT_ADMIN_SERVER_PORT = void 0; exports.DEFAULT_ADMIN_SERVER_PORT = 45454; var Method; (function (Method) { Method[Method["GET"] = 0] = "GET"; Method[Method["POST"] = 1] = "POST"; Method[Method["PUT"] = 2] = "PUT"; Method[Method["DELETE"] = 3] = "DELETE"; Method[Method["PATCH"] = 4] = "PATCH"; Method[Method["HEAD"] = 5] = "HEAD"; Method[Method["OPTIONS"] = 6] = "OPTIONS"; })(Method || (exports.Method = Method = {})); var RulePriority; (function (RulePriority) { RulePriority[RulePriority["FALLBACK"] = 0] = "FALLBACK"; RulePriority[RulePriority["DEFAULT"] = 1] = "DEFAULT"; })(RulePriority || (exports.RulePriority = RulePriority = {})); //# sourceMappingURL=types.js.map