@ima/plugin-rest-client
Version:
Generic REST API client plugin for the IMA application framework.
25 lines (24 loc) • 641 B
JavaScript
/**
* Utility for configuring the REST client using the configuration provided by
* the server.
*
* @interface
*/ "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return Configurator;
}
});
class Configurator {
/**
* Retrieves the REST API client configuration provided by the server.
*
* @returns {Promise<Object<string, *>>} A promise that will resolve to the
* client configuration provided by the server.
*/ getConfiguration() {}
}
//# sourceMappingURL=Configurator.js.map