From 20323140f55607d51199af8060b3d971451ae262 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sat, 25 May 2019 15:57:20 +0200 Subject: Implement pongs, move to multiple TLUs --- websocket.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 websocket.h (limited to 'websocket.h') diff --git a/websocket.h b/websocket.h new file mode 100644 index 0000000..f2a4500 --- /dev/null +++ b/websocket.h @@ -0,0 +1,6 @@ +#include "websocksy.h" + +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); +int ws_data(websocket* ws); -- cgit v1.2.3