|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
Per-connection user data. More...
Data Fields | |
| websocket_server_t * | server |
| Back-reference to server. | |
| acip_transport_t * | transport |
| ACIP transport for this connection. | |
| asciichat_thread_t | handler_thread |
| Client handler thread. | |
| bool | handler_started |
| True if handler thread was started. | |
| bool | cleaning_up |
| True if cleanup is in progress (prevents race with remove_client) | |
| uint8_t * | pending_send_data |
| Current message being sent. | |
| size_t | pending_send_len |
| Total length of message being sent. | |
| size_t | pending_send_offset |
| Current offset in message (bytes already sent) | |
| bool | has_pending_send |
| True if there's an in-progress message. | |
Per-connection user data.
Stored in libwebsockets per-session user data (wsi user pointer).
Definition at line 37 of file lib/network/websocket/server.c.
| bool websocket_connection_data_t::cleaning_up |
True if cleanup is in progress (prevents race with remove_client)
Definition at line 42 of file lib/network/websocket/server.c.
| bool websocket_connection_data_t::handler_started |
True if handler thread was started.
Definition at line 41 of file lib/network/websocket/server.c.
| asciichat_thread_t websocket_connection_data_t::handler_thread |
Client handler thread.
Definition at line 40 of file lib/network/websocket/server.c.
| bool websocket_connection_data_t::has_pending_send |
True if there's an in-progress message.
Definition at line 48 of file lib/network/websocket/server.c.
| uint8_t* websocket_connection_data_t::pending_send_data |
Current message being sent.
Definition at line 45 of file lib/network/websocket/server.c.
| size_t websocket_connection_data_t::pending_send_len |
Total length of message being sent.
Definition at line 46 of file lib/network/websocket/server.c.
| size_t websocket_connection_data_t::pending_send_offset |
Current offset in message (bytes already sent)
Definition at line 47 of file lib/network/websocket/server.c.
| websocket_server_t* websocket_connection_data_t::server |
Back-reference to server.
Definition at line 38 of file lib/network/websocket/server.c.
| acip_transport_t* websocket_connection_data_t::transport |
ACIP transport for this connection.
Definition at line 39 of file lib/network/websocket/server.c.