RequestHeaders.Add Method

Definition

Overloads

Add(HttpHeader)

Adds the HttpHeader instance to the collection.

Add(String, String)

Adds the header to the collection. If a header with this name already exist adds an additional value to the header values.

Add(HttpHeader)

Source:
RequestHeaders.cs

Adds the HttpHeader instance to the collection.

public void Add (Azure.Core.HttpHeader header);
member this.Add : Azure.Core.HttpHeader -> unit
Public Sub Add (header As HttpHeader)

Parameters

header
HttpHeader

The header to add.

Applies to

Add(String, String)

Source:
RequestHeaders.cs

Adds the header to the collection. If a header with this name already exist adds an additional value to the header values.

public void Add (string name, string value);
member this.Add : string * string -> unit
Public Sub Add (name As String, value As String)

Parameters

name
String

The header name.

value
String

The header value.

Applies to