comparison seobeo/seobeo_internal.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 609d3c6aff4e
comparison
equal deleted inserted replaced
219:8c9bb0b0759e 221:ce7f4400c2de
129 char *body; 129 char *body;
130 size_t body_length; 130 size_t body_length;
131 131
132 boolean follow_redirects; 132 boolean follow_redirects;
133 int32 max_redirects; 133 int32 max_redirects;
134 int32 timeout_ms;
134 135
135 char *download_path; 136 char *download_path;
136 137
137 Dowa_Arena *p_arena; 138 Dowa_Arena *p_arena;
138 } Seobeo_Client_Request; 139 } Seobeo_Client_Request;
156 extern void Seobeo_Client_Request_Set_Method(Seobeo_Client_Request *p_req, const char *method); 157 extern void Seobeo_Client_Request_Set_Method(Seobeo_Client_Request *p_req, const char *method);
157 extern void Seobeo_Client_Request_Add_Header_Map(Seobeo_Client_Request *p_req, const char *key, const char *value); 158 extern void Seobeo_Client_Request_Add_Header_Map(Seobeo_Client_Request *p_req, const char *key, const char *value);
158 extern void Seobeo_Client_Request_Add_Header_Array(Seobeo_Client_Request *p_req, const char *header); 159 extern void Seobeo_Client_Request_Add_Header_Array(Seobeo_Client_Request *p_req, const char *header);
159 extern void Seobeo_Client_Request_Set_Body(Seobeo_Client_Request *p_req, const char *body, size_t length); 160 extern void Seobeo_Client_Request_Set_Body(Seobeo_Client_Request *p_req, const char *body, size_t length);
160 extern void Seobeo_Client_Request_Set_Follow_Redirects(Seobeo_Client_Request *p_req, boolean follow, int32 max_redirects); 161 extern void Seobeo_Client_Request_Set_Follow_Redirects(Seobeo_Client_Request *p_req, boolean follow, int32 max_redirects);
162 extern void Seobeo_Client_Request_Set_Timeout_Milliseconds(Seobeo_Client_Request *p_req, int32 timeout_ms);
161 extern void Seobeo_Client_Request_Set_Download_Path(Seobeo_Client_Request *p_req, const char *path); 163 extern void Seobeo_Client_Request_Set_Download_Path(Seobeo_Client_Request *p_req, const char *path);
162 extern Seobeo_Client_Response *Seobeo_Client_Request_Execute(Seobeo_Client_Request *p_req); 164 extern Seobeo_Client_Response *Seobeo_Client_Request_Execute(Seobeo_Client_Request *p_req);
163 extern void Seobeo_Client_Request_Destroy(Seobeo_Client_Request *p_req); 165 extern void Seobeo_Client_Request_Destroy(Seobeo_Client_Request *p_req);
164 extern void Seobeo_Client_Response_Destroy(Seobeo_Client_Response *p_resp); 166 extern void Seobeo_Client_Response_Destroy(Seobeo_Client_Response *p_resp);
165 167