HAProxy Enterprise Documentation 1.6r2
prompt
Initiate an interactive session with the Runtime API.
Note
On some Linux distributions such as Debian and Ubuntu, socat
does not support readline
.
Description
Using prompt
, you can begin an interactive session wherein you can enter commands without needing to reconnect to the API each time.
Examples
Access the socat
READLINE address to connect to the API, then enter the prompt
command, as shown below:
$ sudo socat readline /var/run/hapee-1.6/hapee-lb.sock
prompt
> help
Next up
Lua scripts