glpi-client
Version:
GLPI API Client written in Typescript
11 lines (10 loc) • 349 B
TypeScript
import { AxiosInstance, AxiosResponse } from 'axios';
export declare class GlpiSocket {
private http;
private url;
constructor(url: string, headers?: any);
getHttp(): AxiosInstance;
setHeader(headers?: any): void;
call<T>(method: string, path: string, options?: any): Promise<AxiosResponse<T>>;
private makeHttpSocket;
}