Click to Rate and Give Feedback
MSDN
MSDN Library
Networking
Network Protocols
WinHTTP Reference
WinHTTP Functions

  Switch on low bandwidth view
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.

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.

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.

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.

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.

 

Send comments about this topic to Microsoft

Build date: 7/9/2009

Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker