HTTP_REQUEST_V2 structure (http.h)

The HTTP_REQUEST_V2 structure extends the HTTP_REQUEST_V1 request structure with more information about the request.

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

Syntax

typedef struct _HTTP_REQUEST_V2 : _HTTP_REQUEST_V1 {
  USHORT             RequestInfoCount;
  PHTTP_REQUEST_INFO pRequestInfo;
} HTTP_REQUEST_V2, *PHTTP_REQUEST_V2;

Inheritance

The HTTP_REQUEST_V2 structure implements _HTTP_REQUEST_V1.

Members

RequestInfoCount

The number of HTTP_REQUEST_INFO structures in the array pointed to by pRequestInfo.

pRequestInfo

A pointer to an array of HTTP_REQUEST_INFO structures that contains additional 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_COOKED_URL

HTTP_DATA_CHUNK

HTTP_REQUEST

HTTP_REQUEST_V1

HTTP_RESPONSE

HTTP_SSL_INFO

HTTP_TRANSPORT_ADDRESS

HTTP_VERB

HttpReceiveHttpRequest

HttpReceiveRequestEntityBody

HttpSendHttpResponse

HttpSendResponseEntityBody