HttpDelegateRequestEx function (http.h)

Delegates a request from the source request queue to the target request queue.

Syntax

HTTPAPI_LINKAGE ULONG HttpDelegateRequestEx(
  HANDLE                               RequestQueueHandle,
  HANDLE                               DelegateQueueHandle,
  HTTP_REQUEST_ID                      RequestId,
  HTTP_URL_GROUP_ID                    DelegateUrlGroupId,
  ULONG                                PropertyInfoSetSize,
  PHTTP_DELEGATE_REQUEST_PROPERTY_INFO PropertyInfoSet
);

Parameters

RequestQueueHandle

Type: _In_ HANDLE

A handle to the source request queue.

DelegateQueueHandle

Type: _In_ HANDLE

A handle to the target request queue.

RequestId

Type: _In_ HTTP_REQUEST_ID

A unique request ID received with HttpReceiveHttpRequest.

DelegateUrlGroupId

Type: _In_ HTTP_URL_GROUP_ID

The url group id of the target url group.

PropertyInfoSetSize

Type: _In_ ULONG

The number of entries in the PropertyInfoSet array.

PropertyInfoSet

Type: _In_ **PHTTP_DELEGATE_REQUEST_PROPERTY_INFO**

An array of properties to be set on request when delegating.

Return value

A ULONG containing an NTSTATUS completion status.

Requirements

   
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Target Platform Windows
Header http.h
Library Httpapi.lib
DLL Httpapi.dll