Org.Apache.Http.Message.HeaderGroup.UpdateHeader Method
Replaces the first occurence of the header with the same name.

Syntax

[Android.Runtime.Register("updateHeader", "(Lorg/apache/http/Header;)V", "GetUpdateHeader_Lorg_apache_http_Header_Handler")]
public virtual void UpdateHeader (Org.Apache.Http.IHeader header)

Parameters

header
the new header that should replace the first header with the same name if present in the list.

Remarks

Replaces the first occurence of the header with the same name. If no header with the same name is found the given header is added to the end of the list.

[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