This is example webpage of RTCS HTTP server application (HTTPSRV). This page is written in HTML5, CSS3 and JavaScript and there is example code for various HTTPSRV features. You can go to desired example page by clicking on link in menu on the left side of this page.
Hypertext Transfer Protocol (HTTP) server is a simple web server that handles, evaluates, and responses to HTTP requests. Depending on the configuration and incoming client requests, it returns static file system content (web pages, style sheets, images...) or content dynamically generated by callback routines. The MQX HTTP supports HTTP protocol in version 1.0 defined by RFC 1945 (http://tools.ietf.org/html/rfc1945).
Server creates a separate task and an internal data structure for every incoming connection from the client (this is called session in further text). When the session processing is done (a response is sent to the client) and keep-alive option is disabled, the connection from the client is closed and the session is destroyed. In case keep-alive is enabled the connection remains open and the server waits for another request from the client. This can speed up transfers of multiple small files because the connection does not need to be reestablished.
For further information please see RTCS user guide document (located in %MQX_ROOT%\doc\rtcs).