BackgroundDownloader.SetRequestHeader(String, String) BackgroundDownloader.SetRequestHeader(String, String) BackgroundDownloader.SetRequestHeader(String, String) BackgroundDownloader.SetRequestHeader(String, String) BackgroundDownloader.SetRequestHeader(String, String) Method

Definition

Used to set an HTTP request header.

public : void SetRequestHeader(Platform::String headerName, Platform::String headerValue)
void SetRequestHeader(winrt::hstring headerName, winrt::hstring headerValue) const;
public void SetRequestHeader(String headerName, String headerValue)
Public Sub SetRequestHeader(headerName As String, headerValue As String)
backgroundDownloader.setRequestHeader(headerName, headerValue);

Parameters

headerName
String String String

The header name.

headerValue
String String String

The header value.

Remarks

This method allows the caller to set request headers. This method can be called multiple times for the same header. The values will then be concatenated.