BackgroundUploader.SetRequestHeader | setRequestHeader method

Applies to Windows and Windows Phone

Used to set an HTTP request header.

Syntax


backgroundUploader.setRequestHeader(headerName, headerValue);

Parameters

headerName

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The header name.

headerValue

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The header value.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Networking.BackgroundTransfer
Windows::Networking::BackgroundTransfer [C++]

Metadata

Windows.winmd

See also

BackgroundUploader

 

 

Show:
© 2014 Microsoft