WebDocument

Available since framework version 1.0.

Defined in : WebDocument.con
(this file must be included in your application in order to have access)

Require : web.server.api

Description:

Manages a web application. In provides sessions, content output handling (instead of the echo keyword, you must use the operator<<. Provides two basic javascripts for Reloading and Navigateing.

Properties

Sets or gets the content type
If set to true, the document will use a session
Sets the type of the end line to use

Methods

Start outputting to a web document
Destroys the current session
Ends the output started with BeginDocument
Send a raw HTTP header
Navigates to the given location
The functional version of the operator<<
Prints a line, and ends the line with the endl line terminator
Reloads a document
Gets the current session ID
This is the standard contructor for this class and should not be used directly
The equivalent of the echo keyword