@ima/plugin-rest-client
Version:
Generic REST API client plugin for the IMA application framework.
45 lines (44 loc) • 827 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
/**
* Constants representing the upper-case names of supported HTTP methods.
*/ const HttpMethod = {
/**
* The GET HTTP method.
*
* @type {string}
*/ GET: 'GET',
/**
* The POST HTTP method.
*
* @type {string}
*/ POST: 'POST',
/**
* The PATCH HTTP method.
*
* @type {string}
*/ PATCH: 'PATCH',
/**
* The PUT HTTP method.
*
* @type {string}
*/ PUT: 'PUT',
/**
* The DELETE HTTP method.
*
* @type {string}
*/ DELETE: 'DELETE'
};
if ($Debug) {
Object.freeze(HttpMethod);
}
const _default = HttpMethod;
//# sourceMappingURL=HttpMethod.js.map