AzHttp Overview

AzHttp is a small HTTP server for embedded systemes. The source code is OS independent and can be used in all 32 bit operating systems.


Main Functions:

HttpDaemon Starts the http server.
HttpStopDaemon Stops the http server.

Parameter Functions:

HttpGetContent Gets the content type of the current request.
HttpGetFile Gets the filename for the current request.
HttpGetHost Gets the hostname of the current request.
HttpGetParam Gets parameter of the current request.
HttpGetPath Gets the url of the current request.
HttpGetUser Gets the username of the current request.
HttpGetUserPointer Gets an user pointer.
HttpGetUserValue Gets an user value as interger.
HttpSetUserPointer Sets an user pointer.
HttpSetUserValue Sets an user value as interger.
HttpReserveUserParams Reserves some user parameter for a plugin.

Cookie Functions:

HttpAddCookie Inserts a cookie at the next response.
HttpGetCookie Gets a single cookie of the current request.
HttpGetCookieValue Gets a single cookie value of the current request.
HttpGetCookies Gets all cookies of the current request.

Transmit Functions:

HttpSetChacheMode Sets the cache options for the current request.
HttpSetModifyTime Sets the modify time for the request.
HttpTransmitCallback Returning a data stream via callbacks.
HttpTransmitFile Returning a other file than the request url.
HttpTransmitGoto Moving to an other url.
HttpTransmitMemory Returning a memory block.

Several Functions:

HttpEncodeHtml Translate a text to a html string.
HttpEncodeString Translate a text to a http string.
HttpLogoutUser Logout an user.
HttpTreeSetUrlFrame Se
HttpSetAuthMode Set the authorizaion mode.

Tree Plugin:

HttpRegisterTree Registers the tree plugin.
HttpTreeAddEntry Adds an entry to an existing tree.
HttpTreeAddPath Inserts a tree page for a file path in a tree.
HttpTreeBackground Sets the backgrond off a tree page.
HttpTreeSetUrlFrame Sets prefix and suffix for the url's
HttpTreeCreate Creates a new tree page.

Icon Plugin:
 
HttpGetIconPath Inserts a icon path for a file suffix.
HttpGetIconTree Inserts a icon path for a tree page.
HttpIconTrans Callback for a http request.
HttpRegisterIcon Registers the icon plugin.

Folder Plugin:

HttpFolderTrans Callback for a http request
HttpInitFolder Initalizes the folder plugin for external use with HttpFolderTrans.
HttpRegisterFolder Registers the folder plugin.

Script Plugin:

HttpInitScript Initalizes the script plugin for external use.
HttpRegisterScript Registers the script plugin.
HttpScriptTrans Callback for a http request.





see also: