On 02/04/2018 03:19 AM, lingweicai wrote: > Dear all: > > I want to create responses with strings variables, for example , html > start tag, html title, css, js, head1, content, html end tag , etc. > > Can I use this callback function instead of > MHD_create_response_from_buffer?
In principle you can use MHD_create_response_from_callback() always instead of _from_buffer, as _from_callback is more general. Whether it makes sense in your case I cannot judge. > I have not found any example codes on the callback. Look here: src/examples/fileserver_example_dirs.c
signature.asc
Description: OpenPGP digital signature