WinHTTP Functions
WinHTTP provides the following functions:
- WinHttpAddRequestHeaders
-
Adds one or more HTTP request headers to the HTTP request handle.
- WinHttpCheckPlatform
-
Determines whether the current platform is supported by WinHTTP.
- WinHttpCloseHandle
-
Closes a single HINTERNET handle.
- WinHttpConnect
-
Specifies the initial target server of an HTTP request.
- WinHttpCrackUrl
-
Separates a URL into its component parts, for example, host name and path.
- WinHttpCreateProxyResolver
-
Creates a handle for use by WinHttpGetProxyForUrlEx.
- WinHttpCreateUrl
-
Creates a URL from component parts, for example, the host name and path.
- WinHttpDetectAutoProxyConfigUrl
-
Finds the URL for the Proxy Auto-Configuration (PAC) file. This function reports the URL of the PAC file, but it does not download the file.
- WinHttpFreeProxyResult
-
Frees the data retrieved from a previous call to WinHttpGetProxyResult.
- WinHttpGetDefaultProxyConfiguration
-
Retrieves the default WinHTTP proxy configuration from the registry.
- WinHTTPGetIEProxyConfigForCurrentUser
-
Obtains the Internet Explorer (IE) proxy configuration for the current user.
- WinHttpGetProxyForUrl
-
Retrieves the proxy information for the specified URL.
- WinHttpGetProxyForUrlEx
-
Retrieves the proxy information for the specified URL.
- WinHttpGetProxyResult
-
Retrieves the results of a call to WinHttpGetProxyForUrlEx.
- WinHttpOpen
-
Initializes an application's use of the WinHTTP functions.
- WinHttpOpenRequest
-
Creates an HTTP request handle.
- WinHttpQueryAuthSchemes
-
Returns the authorization schemes that the server supports.
- WinHttpQueryDataAvailable
-
Returns the number of bytes of data that are available immediately to be read with WinHttpReadData.
- WinHttpQueryHeaders
-
Retrieves header information associated with an HTTP request.
- WinHttpQueryOption
-
Queries an Internet option on the specified handle.
- WinHttpReadData
-
Reads data from a handle opened by the WinHttpOpenRequest function.
- WinHttpReceiveResponse
-
Ends an HTTP request that is initiated by WinHttpSendRequest.
- WinHttpResetAutoProxy
-
Resets the auto-proxy.
- WinHttpSendRequest
-
Sends the specified request to the HTTP server.
- WinHttpSetCredentials
-
Passes the required authorization credentials to the server.
- WinHttpSetDefaultProxyConfiguration
-
Sets the default WinHTTP proxy configuration in the registry.
- WinHttpSetOption
-
Sets an Internet option.
- WinHttpSetStatusCallback
-
Sets up a callback function that WinHTTP can call as progress is made during an operation.
- WinHttpSetTimeouts
-
Sets the various time-outs that are involved with HTTP transactions.
- WinHttpTimeFromSystemTime
-
Formats a date and time according to the HTTP version 1.0 specification.
- WinHttpTimeToSystemTime
-
Takes an HTTP time/date string and converts it to a SYSTEMTIME structure.
- WinHttpWriteData
-
Writes request data to an HTTP server.
- WinHttpWebSocketClose
-
Closes a WebSocket connection.
- WinHttpWebSocketCompleteUpgrade
-
Completes a WebSocket handshake started by WinHttpSendRequest.
- WinHttpWebSocketQueryCloseStatus
-
Gets the close status sent by a server.
- WinHttpWebSocketReceive
-
Receives data from a WebSocket connection.
- WinHttpWebSocketSend
-
Sends data over a WebSocket connection.
- WinHttpWebSocketShutdown
-
Sends a close frame to a WebSocket connection.