diff options
author | cbdev <cb@cbcdn.com> | 2019-05-25 15:57:20 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2019-05-25 15:57:20 +0200 |
commit | 20323140f55607d51199af8060b3d971451ae262 (patch) | |
tree | c0a20433ce5510e54d9fd2c222bb59fa5d570a46 /websocket.h | |
parent | 79e063d6aa6116231fdfb374f52507236ca3770e (diff) | |
download | websocksy-20323140f55607d51199af8060b3d971451ae262.tar.gz websocksy-20323140f55607d51199af8060b3d971451ae262.tar.bz2 websocksy-20323140f55607d51199af8060b3d971451ae262.zip |
Implement pongs, move to multiple TLUs
Diffstat (limited to 'websocket.h')
-rw-r--r-- | websocket.h | 6 |
1 files changed, 6 insertions, 0 deletions
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); |