aboutsummaryrefslogtreecommitdiff
path: root/websocket.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-06-20 08:19:29 +0200
committercbdev <cb@cbcdn.com>2019-06-20 08:19:29 +0200
commite60aa0c5779bce199020236c0ac3a4beace571cb (patch)
tree52b5df2816b944ceeeb6bb2762d6e7bd5cea457b /websocket.h
parent303e464579e2fc9961d4d9f4841e916f9aa8963f (diff)
downloadwebsocksy-e60aa0c5779bce199020236c0ac3a4beace571cb.tar.gz
websocksy-e60aa0c5779bce199020236c0ac3a4beace571cb.tar.bz2
websocksy-e60aa0c5779bce199020236c0ac3a4beace571cb.zip
Implement additional framing functions (Fixes #3)
Diffstat (limited to 'websocket.h')
-rw-r--r--websocket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/websocket.h b/websocket.h
index f2a4500..f57fccc 100644
--- a/websocket.h
+++ b/websocket.h
@@ -1,5 +1,6 @@
#include "websocksy.h"
+/* WebSocket connection handling functions */
int ws_close(websocket* ws, ws_close_reason code, char* reason);
int ws_accept(int listen_fd);
int ws_send_frame(websocket* ws, ws_operation opcode, uint8_t* data, size_t len);