HAProxy Enterprise Documentation 2.0r1

prompt

Initiate an interactive session with the Runtime API.

Description

Using prompt, you can begin an interactive session wherein you can enter commands without needing to reconnect to the API each time.

Examples

  1. Connect to the Runtime API socket:

    $ sudo socat stdio unix-connect:/var/run/hapee-2.0/hapee-lb.sock
  2. Start an interactive session:

    prompt

    Then you can send other Runtime API commands.

See also


Next up

quit