HAProxy Enterprise Documentation 2.2r1

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. Access the socat READLINE address to connect to the API, then enter the prompt command, as shown below:

$ sudo socat readline /var/run/hapee-2.2/hapee-lb.sock
  prompt
  > help

See also


Next up

quit
HAProxyConf 2022 - Call for papers