Hypertext Transfer Protocol Server Functions
Function
Description
HttpAddVirtualHost
Add a new virtual host to the server virtual host table.
HttpAddVirtualHostAlias
Add an alternate host name for an existing virtual host.
HttpAddVirtualPath
Add a new virtual path for the specified host.
HttpAddVirtualUser
Add a new virtual user for the specified host.
HttpAuthenticateClient
Authenticate the client and assign access rights for the session.
HttpCheckVirtualPath
Determine if the client has permission to access the specified virtual path.
HttpCreateServerCredentials
Create a new server security credentials structure.
HttpDeleteAllClientHeaders
Delete all of the request or response headers for the specified client session.
HttpDeleteClientHeader
Delete a request or response header for the specified client session.
HttpDeleteServerCredentials
Delete a previously created security credentials structure.
HttpDeleteVirtualHost
Delete a virtual host associated with the specified server.
HttpDeleteVirtualPath
Delete a virtual path from the specified virtual host.
HttpDeleteVirtualUser
Delete a virtual user from the specified virtual host.
HttpDisconnectClient
Disconnect the specific client session, closing the control channel and aborting any file transfer.
HttpEnableClientAccess
Enable or disable access rights for the specified client session.
HttpEnableCommand
Enable or disable a specific server command.
HttpEnumServerClients
Returns a list of active client sessions established with the specified server.
HttpGetActiveClient
Return the client ID for the active client session associated with the current thread.
HttpGetAllClientHeaders
Return all client request or response headers in a string buffer.
HttpGetClientAccess
Return the access rights that have been granted to the client session.
HttpGetClientAddress
Return the IP address of the specified client session.
HttpGetClientCredentials
Return the credentials for the specified client session.
HttpGetClientDirectory
Return the root document directory for a client session.
HttpGetClientHeader
Return the value of a request or response header for the specified client session.
HttpGetClientIdleTime
Return the idle timeout period for the specified client.
HttpGetClientLocalPath
Return the full local path for the specified virtual path.
HttpGetClientServer
Return the handle to the server that created the specified client session.
HttpGetClientThreadId
Returns the thread ID associated with the specified client session.
HttpGetClientUserName
Return the user name associated with the specified client session.
HttpGetClientVariable
Return the value of a CGI environment variable for the specified client.
HttpGetClientVirtualHost
Return the name of the virtual host the client used to establish the connection.
HttpGetClientVirtualHostId
Return the virtual host ID associated with the specified client session.
HttpGetClientVirtualPath
Return the virtual path for a local file on the server.
HttpGetCommandFile
Return the full path to the local file name or directory specified by the client.
HttpGetCommandLine
Return the complete command line issued by the client.
HttpGetCommandName
Return the name of the command that was issued by the client.
HttpGetCommandQuery
Return the query parameters included with the command.
HttpGetCommandResource
Return the path for the resource requested by the client.
HttpGetCommandResult
Return the result code and a description of the last command processed by the server.
HttpGetCommandUrl
Return the complete URL of the resource requested by the client.
HttpGetProgramExitCode
Return the exit code of the last program executed by the client.
HttpGetProgramName
Return the name of the CGI program executed by the client.
HttpGetProgramOutput
Return a copy of the standard output from a CGI program executed by the client.
HttpGetProgramText
Return a copy of the standard output from a CGI program in a string buffer.
HttpGetServerAddress
Return the IP address for the server.
HttpGetServerDirectory
Return the full path to the root directory assigned to the specified server.
HttpGetServerError
Return information about the last server error that occurred.
HttpGetServerIdentity
Return the identity and version information for the specified server.
HttpGetServerLogFile
Return the current log file format and full path for the file.
HttpGetServerMemoryUsage
Return the amount of memory allocated for the server and all client sessions.
HttpGetServerName
Return the host name assigned to the server or specified client session.
HttpGetServerOptions
Return the configuration options for the specified server.
HttpGetServerPriority
Return the current priority assigned to the specified server.
HttpGetServerStackSize
Return the initial size of the stack allocated for threads created by the server.
HttpGetServerTransferInfo
Return information about the current file transfer.
HttpGetServerUuid
Return the UUID assigned to the specified server.
HttpGetServerUuidString
Return the UUID assigned to the server as a printable string.
HttpGetVirtualHostId
Return the virtual host ID associated with the specified hostname.
HttpGetVirtualHostName
Return the hostname associated with the specified virtual host ID.
HttpIsClientAuthenticated
Determine if the specified client session has been authenticated.
HttpIsCommandEnabled
Determine if the specified command is currently enabled or disabled.
HttpReceiveRequest
Receive the request that was sent by the client to the server.
HttpRedirectRequest
Redirect the request from the client to another URL.
HttpRegisterHandler
Register a CGI program for use and associate it with a file name extension.
HttpRegisterProgram
Register a CGI program for use and associate it with a virtual path on the server.
HttpRenameServerLogFile
Rename or delete the current log file being updated by the server.
HttpRequireAuthentication
Send a response to the client indicating that authentication is required.
HttpSendErrorResponse
Send a customized error response to the specified client.
HttpSendResponse
Send a response from the server to the specified client.
HttpSendResponseData
Send additional data to the client in response to a command.
HttpServerAsyncNotify
Enable or disable asynchronous notification of changes in server status.
HttpServerDisableTrace
Disable logging of network function calls.
HttpServerEnableTrace
Enable logging of network function calls to a file.
HttpServerInitialize
Initialize the library and validates the specified license key at runtime.
HttpServerProc
Callback function used to process server events.
HttpServerRestart
Restart the server, terminating all active client sessions.
HttpServerResume
Resume accepting client connections on the specified server.
HttpServerStart
Start the server and begin accepting client connections.
HttpServerStop
Stop the server and terminate all active client connections.
HttpServerSuspend
Suspend accepting client connections on the specified server.
HttpServerThrottle
Limit the number of active client connections, connections per address and connection rate.
HttpServerUninitialize
Terminate use of the library by the application.
HttpSetClientAccess
Change the access rights associated with the specified client session.
HttpSetClientHeader
Create or change the value of a request or response header for the client session.
HttpSetClientIdleTime
Change the idle timeout period for the specified client session.
HttpSetClientVariable
Create or change the value of a CGI environment variable for the specified client.
HttpSetCommandFile
Change the name of the local file or directory that is the target of the current command.
HttpSetServerError
Set the last error code for the specified server session.
HttpSetServerIdentity
Change the identity and version information for the specified server.
HttpSetServerLogFile
Change the current log format, level of detail and file name.
HttpSetServerName
Change the hostname assigned to the specified server or client session.
HttpSetServerPriority
Change the priority assigned to the specified server.
HttpSetServerStackSize
Change the initial size of the stack allocated for threads created by the server.
Copyright © 2026 Catalyst Development Corporation. All rights reserved.