zabbix-client
Version:
Zabbix Javascript API Client
12 lines (11 loc) • 402 B
TypeScript
import { AxiosInstance, AxiosResponse } from 'axios';
import { IZabbixResponse } from './IZabbixResponse';
export declare class ZabbixSocket {
private http;
private token;
constructor(url: string);
getHttp(): AxiosInstance;
getToken(): string;
setToken(token: string): string;
call(method: string, params?: any, noAuth?: boolean): Promise<AxiosResponse<IZabbixResponse>>;
}