Mercurial
diff 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 |
line wrap: on
line diff
--- a/seobeo/seobeo.h Mon Jan 19 04:51:50 2026 -0800 +++ b/seobeo/seobeo.h Mon Jan 19 04:52:02 2026 -0800 @@ -286,6 +286,8 @@ /* Connect to WebSocket server with given URL (ws:// or wss://). */ extern Seobeo_WebSocket *Seobeo_WebSocket_Connect(const char *url); +/* Connect to WebSocket server with custom headers. Headers should be newline-separated "Key: Value" pairs. */ +extern Seobeo_WebSocket *Seobeo_WebSocket_Connect_With_Headers(const char *url, const char *headers); /* Send text message over WebSocket. */ extern int32 Seobeo_WebSocket_Send_Text(Seobeo_WebSocket *p_ws, const char *text); /* Send binary message over WebSocket. */