Org.Apache.Http.Message.HeaderGroup.SetHeaders Method
Sets all of the headers contained within this group overriding any existing headers.

Syntax

[Android.Runtime.Register("setHeaders", "([Lorg/apache/http/Header;)V", "GetSetHeaders_arrayLorg_apache_http_Header_Handler")]
public virtual void SetHeaders (Org.Apache.Http.IHeader[] headers)

Parameters

headers
the headers to set

Remarks

Sets all of the headers contained within this group overriding any existing headers. The headers are added in the order in which they appear in the array.

[Android Documentation]

Requirements

Namespace: Org.Apache.Http.Message
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1