IBackgroundCopyJobHttpOptions2 interface

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.

Methods

The IBackgroundCopyJobHttpOptions2 interface has these methods.

Method Description
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

   
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