@ima/plugin-halson-rest-client
Version:
HAL+JSON REST API client for IMA applications.
20 lines • 1.01 kB
TypeScript
/**
* The REST API client for the HAL+JSON REST API.
*/
export default class HalsonRestClient extends AbstractRestClient {
/**
* Initializes the HALSON REST API client.
*
* @param {import('@ima/core').HttpAgent} httpAgent The IMA HTTP agent used for communication
* with the REST API.
* @param {Configurator} configurator URL to the REST API root.
* @param {RequestPreProcessor[]} preProcessors The request pre-processors.
* @param {ResponsePostProcessor[]} postProcessors The response
* post-processors. The response will be processed by the
* {@linkcode HalsonResponsePostProcessor} before it will be passed
* to the provided post-processors.
*/
constructor(httpAgent: import("@ima/core").HttpAgent, configurator: Configurator, preProcessors?: RequestPreProcessor[], postProcessors?: ResponsePostProcessor[]);
}
import { AbstractRestClient } from '@ima/plugin-rest-client';
//# sourceMappingURL=HalsonRestClient.d.ts.map