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

Syntax

[Android.Runtime.Register("setHeader", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSetHeader_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual void SetHeader (string name, string value)

Parameters

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

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.Message
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0