WebSocket async working
This commit is contained in:
@ -38,7 +38,8 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
client_ctx_t *client;
|
||||
sock *s1, *s2, *s, *r;
|
||||
sock *socket;
|
||||
void *other;
|
||||
} ws_ctx_t;
|
||||
|
||||
void tcp_acceptor_func(client_ctx_t *ctx);
|
||||
@ -61,4 +62,8 @@ void tcp_close(client_ctx_t *ctx);
|
||||
|
||||
void proxy_close(proxy_ctx_t *ctx);
|
||||
|
||||
int ws_handle_connection(client_ctx_t *ctx);
|
||||
|
||||
void ws_close(ws_ctx_t *ctx);
|
||||
|
||||
#endif //SESIMOS_FUNC_H
|
||||
|
Reference in New Issue
Block a user