Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 3.00.00

The figure below shows a simplified state diagram and when Each Web server are highly customizable using hook functions. Many hook functions can be called by µC/HTTP-server module during the processing of each client's request. Those hook functions allow the application to act differently following the application context. As example it's possible to implement functionality such as dynamic content replacement, authentication, adding HTTP headers to the HTTP response (i.e. cookie), redirect, generate run-time data page, etc.

For more information on how to configure the hook functions for a given HTTP server instance, please refer to the section Hook Configuration.

Also for the complete list of all the hook functions available and their prototype, please refer to the section Hook Functions API.

HTTP Tasks Global Overview

The diagrams below show a simplified state diagram of the HTTP server transaction processing but also when are where the hook functions are called. 

Image Added

HTTP Request Processing

The diagrams below shows in more details the HTTP received request processing section.

Image Added

HTTP Response Processing

The diagrams below show in more details the HTTP response processing section.

Image Added