summaryrefslogtreecommitdiff
path: root/src/http.h
diff options
context:
space:
mode:
authornirav <nirav@teisuu.com>2019-03-08 01:40:21 +0530
committerDandelion <nirav@teisuu.com>2019-03-08 01:40:21 +0530
commit77a9d0050c16ffd6c4d3a2b17533954d560bb019 (patch)
treef9d76b82cc3d82e3713cb0af071cc564889320a7 /src/http.h
parent6dd58a30761eca36544c4e815b36907eab084949 (diff)
downloadap_client-77a9d0050c16ffd6c4d3a2b17533954d560bb019.tar.gz
ap_client-77a9d0050c16ffd6c4d3a2b17533954d560bb019.zip
Add async http post support
Diffstat (limited to 'src/http.h')
-rw-r--r--src/http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http.h b/src/http.h
index d7ba313..32828db 100644
--- a/src/http.h
+++ b/src/http.h
@@ -5,5 +5,6 @@ int http_init();
void http_cleanup();
char *get_request(const char *url);
char *post_request(const char *url, char *data);
+int http_post_async(char *url, char *post_data, void (*callback)(char *));
#endif