@ima/plugin-http-client
Version:
Generic http client for the IMA application framework.
36 lines (35 loc) • 808 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
AbstractProcessor: function() {
return AbstractProcessor;
},
Operation: function() {
return Operation;
}
});
var Operation = /*#__PURE__*/ function(Operation) {
Operation["PRE_REQUEST"] = "preRequest";
Operation["POST_REQUEST"] = "postRequest";
return Operation;
}({});
class AbstractProcessor {
static get $dependencies() {
return [];
}
preRequest(params) {
return params;
}
postRequest(params) {
return params;
}
}
//# sourceMappingURL=AbstractProcessor.js.map