UNPKG

zabbix-client

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