Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

µC/HTTPs allows dynamic content to be inserted in HTML documents (files having the htm or html suffix) by using special tokens being substituted before the page is actually sent to the web browser. There are two type of token: internal and external. The value of external token must be provided by the upper application via a callback function. Internal tokens are defined to print some data related to HTTP such as status line and error code.

External Token

External tokens are represented in the HTML files as:

...

Note that if the upper application doesn’t copy a valid data the token is automatically replaced by ‘~’ characters. See Get Token Value for more information on how the callback function having to be implemented to support this.

Internal Token

Internal tokens are represented in the HTML files as:

...