@ima/plugin-rest-client
Version:
Generic REST API client plugin for the IMA application framework.
18 lines • 505 B
TypeScript
/**
* Utility for configuring the REST client using the configuration provided by
* the server.
*
* @interface
*/
export default 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(): Promise<{
[x: string]: any;
}>;
}
//# sourceMappingURL=Configurator.d.ts.map