[Libwebsockets] two part html
scalfee at mqidentity.com
Tue Aug 19 04:53:37 CEST 2014
I think I can do this, but I am not sure. I would like to send a html file with the lws sendfile capability. Then I want to send a string of json I built in my app as the rest of the html.
I think all I have to do is when sendfile is done, return 0; then on the next http callback I can send my data. If that is true, what callback code will I get to indicate it is time for me to send my little computed data?
Thanks for the advice, Steve
More information about the Libwebsockets