libafbwsc: add function 'afb_ws_client_connect_api'
authorJosé Bollo <jose.bollo@iot.bzh>
Wed, 11 Oct 2017 11:12:57 +0000 (13:12 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Wed, 11 Oct 2017 15:06:46 +0000 (17:06 +0200)
commit0033c7c16a48819447b3a5273ebb2be99be74352
tree20b9bd2284d669ecdc282713220cc60e9b823455
parentf11c11123f8cc43fc6e810b6c3dd911eb697826e
libafbwsc: add function 'afb_ws_client_connect_api'

This function allows to connect to an API exported by the
binder.

The demo program afb-client-demo is modified to integrate
on option that direct API connection.

Example:
 server: afb-daemon --ws-server unix:hello
 client: afb-client-demo -d -H unix:hello

Change-Id: Id9f857a453c406df1c4b36eb25fb5e833a938c3d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
CMakeLists.txt
src/CMakeLists.txt
src/afb-client-demo.c
src/afb-ws-client.c
src/afb-ws-client.h
src/export-afbwsc.map