Org.Apache.Http.IHttpMessage.GetLastHeader Method
Returns the last header with a specified name of this message.

Syntax

[Android.Runtime.Register("getLastHeader", "(Ljava/lang/String;)Lorg/apache/http/Header;", "GetGetLastHeader_Ljava_lang_String_Handler:Org.Apache.Http.IHttpMessageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public IHeader GetLastHeader (string name)

Parameters

name
the name of the header to return.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the last header with a specified name of this message. Header values are ignored. If there is more than one matching header in the message the last element of IHttpMessage.GetHeaders(string) is returned. If there is no matching header in the message null is returned.

[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