aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-ws-client.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-07-31 19:02:18 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-08-02 15:49:43 +0200
commit10aa15afc5bc7321d0049823dd173dda11ff3724 (patch)
tree9d801d6c2336f8e98bf42c0a622b1b510b9429ea /src/afb-ws-client.c
parentdf67c029363f6d42a3e91cd62774c74b3ef66670 (diff)
afb-socket: Separate socket creation
The objective is to have a well identified and possibly reusable internally. Change-Id: Icdb6ce7d85ae26373cfe4f0b492fe97b74ed747c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-ws-client.c')
-rw-r--r--src/afb-ws-client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-ws-client.c b/src/afb-ws-client.c
index a0c37f31..e29eadb7 100644
--- a/src/afb-ws-client.c
+++ b/src/afb-ws-client.c
@@ -499,6 +499,7 @@ static int get_socket(const char *uri)
}
return fd;
}
+
/*
* Establish a websocket-like client connection to the API of 'uri' and if successful
* instantiate a client afb_proto_ws websocket for this API using 'itf' and 'closure'.