Mercurial
comparison seobeo/seobeo_internal.h @ 231:09a96dcb2b4c hg-web
[merge] Join existing hg-web branch head
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sun, 02 Aug 2026 16:50:48 -0700 |
| parents | ce7f4400c2de |
| children | 609d3c6aff4e |
comparison
equal
deleted
inserted
replaced
| 217:7ef4c9d2a72d | 231:09a96dcb2b4c |
|---|---|
| 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 |