CHttpServer Methods  
 
Class Description
CHttpServer Constructor which initializes the current instance of the class.
~CHttpServer Destructor which releases resources allocated by the class.
Method Description
AddVirtualHost Add a new virtual host to the server virtual host table.
AddVirtualHostAlias Add an alternate host name for an existing virtual host.
AddVirtualPath Add a new virtual path for the specified host.
AddVirtualUser Add a new virtual user for the specified host.
AsyncNotify Enable or disable asynchronous notification of changes in server status.
AttachHandle Attach the specified server handle to this instance of the class.
AuthenticateClient Authenticate the client and assign access rights for the session.
CheckVirtualPath Determine if the client has permission to access the specified virtual path.
DeleteAllClientHeaders Delete all of the request or response headers for the specified client session.
DeleteClientHeader Delete a request or response header for the specified client session.
DeleteVirtualHost Delete a virtual host associated with the specified server.
DeleteVirtualPath Remove a virtual path from the specified host.
DeleteVirtualUser Delete a virtual user from the specified host.
DetachHandle Detach the server handle from the current instance of this class.
DisableCommand Disable a specific server command.
DisableTrace Disable the logging of network function calls.
DisconnectClient Disconnect the specific client session, closing the control channel and aborting any file transfer.
EnableClientAccess Enable or disable access rights for the specified client session.
EnableCommand Enable a specific server command.
EnableTrace Enable logging of network function calls to a file.
EnumClients Returns a list of active client connections established with the server.
GetActiveClient Return the client ID for the active client session associated with the current thread.
GetAddress Return the IP address for the server.
GetAllClientHeaders Return all client request or response headers in a string buffer.
GetClientAccess Return the access rights that have been granted to the client session.
GetClientAddress Return the IP address of the specified client session.
GetClientCredentials Return the credentials for the specified client session.
GetClientDirectory Return the root document directory for a client session.
GetClientHeader Return the value of a request or response header for the specified client session.
GetClientIdleTime Return the idle timeout period for the specified client.
GetClientLocalPath Return the full local path for the specified virtual path.
GetClientServer Return the handle to the server that created the specified client session.
GetClientThreadId Returns the thread ID associated with the specified client session.
GetClientUserName Return the user name associated with the specified client session.
GetClientVariable Return the value of a CGI environment variable for the specified client.
GetClientVirtualHost Return the name of the virtual host the client used to establish the connection.
GetClientVirtualHostId Return the virtual host ID associated with the specified client session.
GetClientVirtualPath Return the virtual path for a local file on the server.
GetCommandFile Return the full path to the local file name or directory specified by the client.
GetCommandLine Return the complete command line issued by the client.
GetCommandName Return the name of the command that was issued by the client.
GetCommandQuery Return the query parameters included with the command.
GetCommandResource Return the path for the resource requested by the client.
GetCommandResult Return the result code and a description of the last command processed by the server.
GetCommandUrl Return the complete URL of the resource requested by the client.
GetDirectory Return the full path to the root directory assigned to the specified server.
GetHandle Return the server handle associated with the class instance.
GetIdentity Return the identity and version information for the specified server.
GetLastError Return information about the last server error that occurred.
GetLogFile Return the current log file format and full path for the file.
GetMemoryUsage Return the amount of memory allocated for the server and all client sessions.
GetName Return the host name assigned to the server or specified client session.
GetOptions Return the options specified for this instance of the server.
GetPriority Return the current priority assigned to the specified server.
GetProgramExitCode Return the exit code of the last program executed by the client.
GetProgramName Return the name of the CGI program executed by the client.
GetProgramOutput Return a copy of the standard output from the last program executed by the client.
GetProgramText Return a copy of the standard output from the last program in a string buffer.
GetStackSize Return the initial size of the stack allocated for threads created by the server.
GetTransferInfo Return information about the current file transfer.
GetUuid Return the UUID assigned to the specified server.
GetVirtualHostId Return the virtual host ID associated with the specified hostname.
GetVirtualHostName Return the hostname associated with the specified virtual host ID.
IsActive Determine if the server has been started.
IsClientAuthenticated Determine if the specified client session has been authenticated.
IsCommandEnabled Determine if the specified command is currently enabled or disabled.
IsInitialized Determine if the class has been successfully initialized.
IsListening Determine if the server is listening for client connections.
PreProcessEvent Filter server events before being processed by the default event handler.
ReceiveRequest Receive the request that was sent by the client to the server.
RedirectRequest Redirect the request from the client to another URL.
RegisterHandler Register a CGI program for use and associate it with a file name extension.
RegisterProgram Register a CGI program for use and associate it with a virtual path on the server.
RenameServerLogFile Rename or delete the current log file being updated by the server.
RequireAuthentication Send a response to the client indicating that authentication is required.
Restart Restart the server, terminating all active client sessions.
Resume Resume accepting client connections on the specified server.
SendErrorResponse Send a customized error response to the specified client.
SendResponse Send a response from the server to the specified client.
SendResponseData Send additional data to the client in response to a command.
SetCertificate Set the name of the certificate to be used with secure connections.
SetClientAccess Change the access rights associated with the specified client session.
SetClientHeader Create or change the value of a request or response header for the client session.
SetClientIdleTime Change the idle timeout period for the specified client session.
SetClientVariable Create or change the value of a CGI environment variable for the specified client.
SetCommandFile Change the name of the local file or directory that is the target of the current command.
SetDirectory Specify the local directory that will be used as the server root directory.
SetLastError Set the last error code for the specified server session.
SetLogFile Change the current log format, level of detail and file name.
SetIdentity Change the identity and version information for the specified server.
SetName Change the hostname assigned to the server or specified client session.
SetOptions Change the options specified for this instance of the server.
SetPriority Change the priority assigned to the specified server.
SetStackSize Change the initial size of the stack allocated for threads created by the server.
SetUuid Assign a UUID to be associated with this instance of the server.
Start Start the server and begin accepting client connections.
Stop Stop the server and terminate all active client connections.
Suspend Suspend accepting client connections on the specified server.
Throttle Limit the number of active client connections, connections per address and connection rate.