__construct() __construct(resource $socket) Create a new ReadlineClient using $socket for communication. Parameters resource $socket
start() start(string $prompt, string $historyFile) Start the client with an prompt and readline history path. This method never returns. Parameters string $prompt string $historyFile