diff options
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); |