Add streaming client support, MG_EV_HTTP_CHUNK

This commit is contained in:
cpq committed 2021-03-08 15:41:16 +00:00
1 parent d50dc288cd
commit 1b5cc341a5
13 files changed
+927 -122

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ int mg_http_parse(const char *s, size_t len, struct mg_http_message *);
int mg_http_get_request_len(const unsigned char *buf, size_t buf_len);
void mg_http_printf_chunk(struct mg_connection *cnn, const char *fmt, ...);
void mg_http_write_chunk(struct mg_connection *c, const char *buf, size_t len);
void mg_http_delete_chunk(struct mg_connection *c, struct mg_http_message *hm);
struct mg_connection *mg_http_listen(struct mg_mgr *, const char *url,
mg_event_handler_t fn, void *fn_data);
struct mg_connection *mg_http_connect(struct mg_mgr *, const char *url,