comparison seobeo/seobeo.h @ 163:058de208e640

[Config] Adding os ignore files.
author June Park <parkjune1995@gmail.com>
date Mon, 19 Jan 2026 04:52:02 -0800
parents f236c895604e
children 827c6ac504cd a8976a008a9d
comparison
equal deleted inserted replaced
162:8ceb5d3c6bdd 163:058de208e640
284 * 5. **Control Frames**: Proper handling of ping, pong, and close frames 284 * 5. **Control Frames**: Proper handling of ping, pong, and close frames
285 */ 285 */
286 286
287 /* Connect to WebSocket server with given URL (ws:// or wss://). */ 287 /* Connect to WebSocket server with given URL (ws:// or wss://). */
288 extern Seobeo_WebSocket *Seobeo_WebSocket_Connect(const char *url); 288 extern Seobeo_WebSocket *Seobeo_WebSocket_Connect(const char *url);
289 /* Connect to WebSocket server with custom headers. Headers should be newline-separated "Key: Value" pairs. */
290 extern Seobeo_WebSocket *Seobeo_WebSocket_Connect_With_Headers(const char *url, const char *headers);
289 /* Send text message over WebSocket. */ 291 /* Send text message over WebSocket. */
290 extern int32 Seobeo_WebSocket_Send_Text(Seobeo_WebSocket *p_ws, const char *text); 292 extern int32 Seobeo_WebSocket_Send_Text(Seobeo_WebSocket *p_ws, const char *text);
291 /* Send binary message over WebSocket. */ 293 /* Send binary message over WebSocket. */
292 extern int32 Seobeo_WebSocket_Send_Binary(Seobeo_WebSocket *p_ws, const uint8 *data, size_t length); 294 extern int32 Seobeo_WebSocket_Send_Binary(Seobeo_WebSocket *p_ws, const uint8 *data, size_t length);
293 /* Send ping frame (for keep-alive). */ 295 /* Send ping frame (for keep-alive). */