Type alias IHaproxyConnection

IHaproxyConnection: {
    clear(all?) => Promise<void>;
    compression(value) => Promise<void>;
    disable(backend, server) => Promise<void>;
    enable(backend, server) => Promise<void>;
    errors(id?) => Promise<void>;
    info() => Promise<string>;
    maxconn(frontend, max) => Promise<void>;
    maxconn(max) => Promise<void>;
    pause() => Promise<void>;
    ratelimit(value) => Promise<void>;
    reload(hard?) => Promise<boolean>;
    resume(frontend) => Promise<void>;
    running() => Promise<boolean>;
    session(id?) => Promise<void>;
    softstop() => Promise<boolean>;
    start() => Promise<boolean>;
    stat(...args) => Promise<Record<string, string>[]>;
    stop(all?) => Promise<boolean>;
    verify() => Promise<boolean>;
    weight(backend, server, weight?) => Promise<void>;
}

Type declaration

Generated using TypeDoc