This section summarizes many of the more useful functions defined by the server. These tables are not complete, however. You are encouraged to read through the code to learn more about the features offered by the server.
Table 18-1 summarizes the Httpd functions used when returning pages to the client.
|Httpd_Error sock code||Returns a simple error page to the client. The code is a numeric error code like 404 or 500.|
|Httpd_ReturnData sock type data||Returns a page with Content-Type type and content data.|
|Httpd_ReturnFile sock type file||Returns a file with Content-Type type.|
|Httpd_Redirect newurl sock||Generates a 302 error return with a Location of newurl.|
|Httpd_SelfUrl url||Expands url to include ...|