Skip to content

Commit 34466dc

Browse files
committed
Clean up interactive CLI example
1 parent 05556f5 commit 34466dc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

examples/cli.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@
4949

5050
$loop->removeReadStream(STDIN);
5151
});
52-
53-
$client->on('error', function(Exception $error) {
54-
echo '## ERROR: ' . $error->getMessage() . PHP_EOL;
55-
});
56-
57-
//$client->end();
5852
}, function (Exception $error) {
5953
echo 'CONNECTION ERROR: ' . $error->getMessage() . PHP_EOL;
6054
exit(1);

0 commit comments

Comments
 (0)