UNPKG

glpi-client

Version:
11 lines (10 loc) 349 B
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; }