Org.Apache.Http.IHttpMessage.SetHeaders Method
Overwrites all the headers in the message.

Syntax

[Android.Runtime.Register("setHeaders", "([Lorg/apache/http/Header;)V", "GetSetHeaders_arrayLorg_apache_http_Header_Handler:Org.Apache.Http.IHttpMessageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetHeaders (IHeader[] headers)

Parameters

headers
the array of headers to set.

Remarks

Overwrites all the headers in the message.

[Android Documentation]

Requirements

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