IBackgroundCopyJobHttpOptions2 interface (bits10_2.h)

Use this interface to retrieve and/or to override the HTTP method used for a BITS transfer.

To get this interface, call the IBackgroundCopyJob::QueryInterface method using __uuidof(IBackgroundCopyJobHttpOptions2) for the interface identifier.

Inheritance

The IBackgroundCopyJobHttpOptions2 interface inherits from IBackgroundCopyJobHttpOptions. IBackgroundCopyJobHttpOptions2 also has these types of members:

Methods

The IBackgroundCopyJobHttpOptions2 interface has these methods.

 
IBackgroundCopyJobHttpOptions2::GetHttpMethod

Retrieves a wide string containing the HTTP method name for the BITS transfer. By default, download jobs will be "GET", and upload and upload-reply jobs will be "BITS_POST".
IBackgroundCopyJobHttpOptions2::SetHttpMethod

Overrides the default HTTP method used for a BITS transfer.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header bits10_2.h (include Bits.h)

See also

IBackgroundCopyJobHttpOptions