CHttpServer Event Constants  
 
Value Description
HTTP_CLIENT_CONNECT The client has established the initial control connection with the server. This is the first event that will occur after a connection attempt. For more information, refer to the OnConnect event handler.
HTTP_CLIENT_DISCONNECT The connection to the client has been closed. This event will occur when the client disconnects from the server or when the server terminates the connection to the client by calling the DisconnectClient method.  For more information refer to the OnDisconnect event handler.
HTTP_CLIENT_TIMEOUT The client has exceeded the idle timeout period that was specified for the client session. This event occurs prior to the server disconnecting the client. For more information, refer to the OnTimeout event handler.
HTTP_CLIENT_COMMAND The client has sent a request to the server. This event occurs after the command and request headers have been received from the client, but prior to the command being executed. For more information, refer to the OnCommand event handler.
HTTP_CLIENT_RESULT The server has processed the response sent to the client. This event occurs after the command has been executed and the response headers and data have been sent to the client. For more information, refer to the OnResult event handler.
HTTP_CLIENT_USERAUTH The client has provided authentication credentials as part of the request issued to the server. This event occurs after a request has been received from the client and before it has been processed. For more information, refer to the OnAuthenticate event handler.
HTTP_CLIENT_DOWNLOAD The client has downloaded a file from the server. This is an advisory event that occurs after the file has been successfully downloaded. If the file transfer fails or is aborted, this event will not be generated. For more information, refer to the OnDownload event handler.
HTTP_CLIENT_UPLOAD The client has uploaded a file to the server. This is an advisory event that occurs after the file has been successfully uploaded. If the file transfer fails or is aborted, this event will not be generated. For more information, refer to the OnUpload event handler.
HTTP_CLIENT_EXECUTE The client has successfully executed a CGI program or script on the server. This is an advisory event that occurs after the program or script has completed execution. For more information, refer to the OnExecute event handler.

See Also