![]() |
libwebsockets
Lightweight C library for HTML5 websockets
|
Data Structures | |
| struct | lws_process_html_args |
| struct | lws_process_html_state |
Typedefs | |
| typedef const char *(* | lws_process_html_state_cb) (void *data, int index) |
Functions | |
| LWS_VISIBLE LWS_EXTERN int | lws_chunked_html_process (struct lws_process_html_args *args, struct lws_process_html_state *s) |
APIs for receiving chunks of text, replacing a set of variable names via a callback, and then prepending and appending HTML chunked encoding headers.
| LWS_VISIBLE LWS_EXTERN int lws_chunked_html_process | ( | struct lws_process_html_args * | args, |
| struct lws_process_html_state * | s | ||
| ) |
#include <lib/libwebsockets.h>
lws_chunked_html_process() - generic chunked substitution
| args | buffer to process using chunked encoding |
| s | current processing state |