afb-client-demo: Add option to keep running 09/14609/1
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 22 Jun 2018 12:00:43 +0000 (14:00 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 22 Jun 2018 12:00:43 +0000 (14:00 +0200)
This option allows to keep the client running
even when its input is closed. This will be used for
tests and for reporting because it allows to write:

  echo 'monitor trace {"add":{"api":"*","request":"*","event":"*","session":"*","global":"*"}}' |
  afb-client -k $WSURL > logfile

to capture all events.

Change-Id: If1c7804556190fd8ec9388260fe014c50b498b1d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>

No differences found