SyndicationClient.SetRequestHeader(String, String) Method

Definition

Sets an HTTP header for the request. This method can be called multiple times to set multiple headers. When the same header is set multiple times, the values will be concatenated and separated by ",".

public:
 virtual void SetRequestHeader(Platform::String ^ name, Platform::String ^ value) = SetRequestHeader;
void SetRequestHeader(winrt::hstring const& name, winrt::hstring const& value);
public void SetRequestHeader(string name, string value);
function setRequestHeader(name, value)
Public Sub SetRequestHeader (name As String, value As String)

Parameters

name
String

The name of the header.

value
String

The value of the header.

Implements

Applies to