Jaa


AtomPubClient.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

Platform::String

winrt::hstring

The name of the header.

value
String

Platform::String

winrt::hstring

The value of the header.

Implements

M:Windows.Web.Syndication.ISyndicationClient.SetRequestHeader(System.String,System.String) M:Windows.Web.Syndication.ISyndicationClient.SetRequestHeader(Platform::String,Platform::String) M:Windows.Web.Syndication.ISyndicationClient.SetRequestHeader(winrt::hstring,winrt::hstring)

Applies to