Share via


CHttpServer Class Members

Constructor

CHttpServer Constructs a CHttpServer object.

Overridables

CallFunction Finds and executes the appropriate function associated with the command in the URL
OnParseError Constructs a description of the error to be returned to the client.
OnWriteBody Writes data back to the client.
HttpExtensionProc Uses the callback functions to read client data and decide what action to take.
GetExtensionVersion Gets the version number that the DLL extension is based on.
ConstructStream Constructs a CHtmlStream object.
TerminateExtension Provides a safe way to clean up threads and complete other shutdown type activities.

Attributes

StartContent Inserts opening HTML tags into a CHtmlStream object to be returned to the client. Override to change or omit the default tags.
EndContent Inserts closing HTML tags into a CHtmlStream object to be returned to the client. Override to change or omit the default tags.
WriteTitle Inserts the title between the appropriate HTML tags in the CHtmlStream object to be returned to the client. Override to provide a different title.
GetTitle Gets the title of an HTML document to be sent to the client.
AddHeader Adds headers to a response before it is sent to the server.
InitInstance Initializes the CHttpServer object.

CHttpServer OverviewHierarchy Chart

See Also   CHtmlStream, CHttpServerContext