Org.Apache.Http.IHttpMessage.AddHeader Method
Adds a header to this message.

Syntax

[Android.Runtime.Register("addHeader", "(Ljava/lang/String;Ljava/lang/String;)V", "GetAddHeader_Ljava_lang_String_Ljava_lang_String_Handler:Org.Apache.Http.IHttpMessageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void AddHeader (string name, string value)

Parameters

name
the name of the header.
value
the value of the header.

Remarks

Adds a header to this message. The header will be appended to the end of the list.

[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