HTTP_RESPONSE_V2 structure (http.h)

The HTTP_RESPONSE_V2 structure extends the HTTP version 1.0 response structure with more information for the response.

Do not use HTTP_RESPONSE_V2 directly in your code; use HTTP_RESPONSE instead to ensure that the proper version, based on the operating system the code is compiled under, is used.

Syntax

typedef struct _HTTP_RESPONSE_V2 : _HTTP_RESPONSE_V1 {
  USHORT              ResponseInfoCount;
  PHTTP_RESPONSE_INFO pResponseInfo;
} HTTP_RESPONSE_V2, *PHTTP_RESPONSE_V2;

Inheritance

The HTTP_RESPONSE_V2 structure implements _HTTP_RESPONSE_V1.

Members

ResponseInfoCount

The number of HTTP_RESPONSE_INFO structures in the array pointed to by pResponseInfo.

The count of the HTTP_RESPONSE_INFO elements in the array pointed to by pResponseInfo.

pResponseInfo

A pointer to an array of HTTP_RESPONSE_INFO structures containing more information about the request.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header http.h

See also

HTTP Server API Version 2.0 Structures

HTTP_DATA_CHUNK

HTTP_REQUEST

HTTP_RESPONSE

HTTP_RESPONSE_HEADERS

HTTP_RESPONSE_V1

HttpSendHttpResponse