aboutsummaryrefslogtreecommitdiff
path: root/websocket.h
blob: f2a4500e000574cd253f69c39f4be03ec6a7e87f (plain)
1
2
3
4
5
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);