UNPKG

483 BTypeScriptView Raw
1import { AxiosResponse } from 'axios';
2import { RabbitmqClientConfig } from './RabbitmqConfig';
3export interface RabbitmqNodeHealthCheckResult {
4 status: string;
5 reason?: string;
6}
7export declare class RabbitmqMgtHttpApi {
8 rabbitmqConfig: RabbitmqClientConfig;
9 /**º
10 * Runs basic healthchecks in the current node
11 */
12 ping(): Promise<RabbitmqNodeHealthCheckResult>;
13 protected sendRequest(method: any, url: any, params?: any): Promise<AxiosResponse>;
14}