Integration of libcairo in pvbrowser
Backward Content Forward

httpd

In runHttpServer(), HTTP GET requests are waited for. The template then encodes a few responses to requests. In the JavaScript example testjavascript. html we send mouse events and update requests to the httpd with:

javascript1.png
JavaScript modified IMG SRC
httpd_img.png
This addresses this IMG object
httpd1.png
runHttpServer() upper part. The HTTP GET request with the corresponding parameters is accepted.
httpd2.png
runHttpServer() lower part. If the HTTP GET Request parameter contains these are sent with loopfifo.printf() to the "Loop" thread, where they can be interpreted, the web browser receives a "HTTP/1.1 202 Accepted" code. Normal queries are answered with the corresponding HTTP response.

Backward Content Forward