Org.Apache.Http.IHttpMessage.SetHeader Method
Overwrites the first header with the same name.

Syntax

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

Parameters

header
the header to set.

Remarks

Overwrites the first header with the same name. The new header will be appended to the end of the list, if no header with the given name can be found.

[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