WinHTTP structures

WinHTTP uses the following structures:

HTTP_VERSION_INFO

Contains the global HTTP version.

URL_COMPONENTS

Contains the constituent parts of a URL. This structure is used with the WinHttpCrackUrl and WinHttpCreateUrl functions.

WINHTTP_ASYNC_RESULT

Contains the result of a call to an asynchronous function. This structure is used with the WINHTTP_STATUS_CALLBACK prototype.

WINHTTP_AUTOPROXY_OPTIONS

Used to indicate to the WinHttpGetProxyForURL function whether to specify the URL of the Proxy Auto-Configuration (PAC) file or to automatically locate the URL with DHCP or DNS queries to the network.

WINHTTP_CERTIFICATE_INFO

Contains certificate information returned from the server. This structure is used by the WinHttpQueryOption function.

WINHTTP_CONNECTION_GROUP

Represents a connection group.

WINHTTP_CONNECTION_INFO

Contains the source and destination IP address of the request that generated the response.

WINHTTP_CREDS

Contains user credential information used for server and proxy authentication.

Note

This structure has been deprecated. Instead, the use of the WINHTTP_CREDS_EX structure is recommended.

WINHTTP_CREDS_EX

Contains user credential information used for server and proxy authentication.

WINHTTP_CURRENT_USER_IE_PROXY_CONFIG

Contains the Internet Explorer proxy configuration information.

WINHTTP_EXTENDED_HEADER

Represents an HTTP request header as a name/value string pair.

WINHTTP_HEADER_NAME

Represents an HTTP request header name.

WINHTTP_HOST_CONNECTION_GROUP

Represents a collection of connection groups.

WINHTTP_MATCH_CONNECTION_GUID

Represents the GUID of a connection, for purposes of connection-matching.

WINHTTP_PROXY_INFO

Contains the session or default proxy configuration.

WINHTTP_PROXY_RESULT

A collection of proxy result entries provided by WinHttpGetProxyResult.

WINHTTP_PROXY_RESULT_ENTRY

A result entry from a call to WinHttpGetProxyResult.

WINHTTP_PROXY_SETTINGS_EX

Represents extended proxy settings.

WINHTTP_PROXY_SETTINGS_PARAM

Represents extended proxy settings.

WINHTTP_QUERY_CONNECTION_GROUP_RESULT

Represents a description of the current state of WinHttp's connections.

WINHTTP_REQUEST_STATS

Contains statistics for a request.

WINHTTP_REQUEST_TIMES

Contains timing information for a request.

WINHTTP_SECURITY_INFO

Contains SChannel connection and cipher information for a request.

WINHTTP_WEB_SOCKET_ASYNC_RESULT

Result status of a WebSocket operation.

WINHTTP_WEB_SOCKET_STATUS

Status of a WebSocket operation.