comparison seobeo/seobeo.h @ 221:ce7f4400c2de hg-web

[hg-web] Harden forge and add changeset UI
author MrJuneJune <me@mrjunejune.com>
date Sun, 02 Aug 2026 09:01:24 -0700
parents 8cf4ec5e2191
children 0e7b9464248d
comparison
equal deleted inserted replaced
219:8c9bb0b0759e 221:ce7f4400c2de
80 extern void Seobeo_Client_Request_Add_Header_Array(Seobeo_Client_Request *p_req, const char *header); 80 extern void Seobeo_Client_Request_Add_Header_Array(Seobeo_Client_Request *p_req, const char *header);
81 /* Set request body with given data and length. */ 81 /* Set request body with given data and length. */
82 extern void Seobeo_Client_Request_Set_Body(Seobeo_Client_Request *p_req, const char *body, size_t length); 82 extern void Seobeo_Client_Request_Set_Body(Seobeo_Client_Request *p_req, const char *body, size_t length);
83 /* Enable/disable following redirects with max redirect count. Default is FALSE with 10 max. */ 83 /* Enable/disable following redirects with max redirect count. Default is FALSE with 10 max. */
84 extern void Seobeo_Client_Request_Set_Follow_Redirects(Seobeo_Client_Request *p_req, boolean follow, int32 max_redirects); 84 extern void Seobeo_Client_Request_Set_Follow_Redirects(Seobeo_Client_Request *p_req, boolean follow, int32 max_redirects);
85 /* Set the maximum idle time for HTTP response reads. Zero disables the timeout. */
86 extern void Seobeo_Client_Request_Set_Timeout_Milliseconds(Seobeo_Client_Request *p_req, int32 timeout_ms);
85 /* Set download path to save response body to file instead of memory. */ 87 /* Set download path to save response body to file instead of memory. */
86 extern void Seobeo_Client_Request_Set_Download_Path(Seobeo_Client_Request *p_req, const char *path); 88 extern void Seobeo_Client_Request_Set_Download_Path(Seobeo_Client_Request *p_req, const char *path);
87 /* Execute the HTTP request and return response. */ 89 /* Execute the HTTP request and return response. */
88 extern Seobeo_Client_Response *Seobeo_Client_Request_Execute(Seobeo_Client_Request *p_req); 90 extern Seobeo_Client_Response *Seobeo_Client_Request_Execute(Seobeo_Client_Request *p_req);
89 /* Destroy request and free all resources. */ 91 /* Destroy request and free all resources. */