ws server +proto

This commit is contained in:
2026-02-11 12:18:59 +03:00
parent 2ff6b1a454
commit aaa858b903
36 changed files with 1702 additions and 191 deletions

18
inc/client.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef __CLIENT_H__
#define __CLIENT_H__
#include <stdint.h>
#include "wsServer/include/ws.h"
#include "ptQueue/inc/ptQueue.h"
typedef struct {
ws_cli_conn_t clientId;
uint8_t isAuthed;
ptQueue* incomeQ;
ptQueue* outcomeQ;
uint64_t connectedAt;
uint32_t streamRegIterator;
} ClientContext;
#endif //ifndef __CLIENT_H__