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:Org.Apache.Http.IHttpMessageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public
void SetHeader (
string name,
string value)
Parameters
- name
- the name of the header.
- value
- the value of the header.
Remarks
Requirements
Namespace: Org.Apache.Http
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1