websocket client library
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 12 May 2016 20:50:35 +0000 (22:50 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 12 May 2016 20:50:35 +0000 (22:50 +0200)
commit7b97a7f27578d7f4ce7cc994e5df303ac5d9c886
tree327277b7af9e21b28fcbc2292f17a6338b33d28f
parent3e775a79aa6ea82f93b2fc03f58ad261a17c73ca
websocket client library

This introduce 2 files for creating client
of websockets x-afb-json1:
 - afb-wsj1.c
 - afb-ws-client.c

The file afb-wsj1.c implements the protocol
x-afb-json1 on top of afb-ws.c.
It could be used to rewrite afb-ws-json1.

The file afb-ws-client.c implements a
light version of the websocket handshaking
to open a afb-wsj1 based on an uri.

Change-Id: Ie53a3b4ff91a9efac32b667b57f8005266db6001
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/CMakeLists.txt
src/afb-ws-client.c [new file with mode: 0644]
src/afb-ws.c
src/afb-ws.h
src/afb-wsj1.c [new file with mode: 0644]
src/afb-wsj1.h [new file with mode: 0644]