Freigeben über


AbstractHttpMessage.GetFirstHeader(String) Method

Definition

Returns the first header with a specified name of this message.

[Android.Runtime.Register("getFirstHeader", "(Ljava/lang/String;)Lorg/apache/http/Header;", "GetGetFirstHeader_Ljava_lang_String_Handler")]
public virtual Org.Apache.Http.IHeader? GetFirstHeader (string? name);
[<Android.Runtime.Register("getFirstHeader", "(Ljava/lang/String;)Lorg/apache/http/Header;", "GetGetFirstHeader_Ljava_lang_String_Handler")>]
abstract member GetFirstHeader : string -> Org.Apache.Http.IHeader
override this.GetFirstHeader : string -> Org.Apache.Http.IHeader

Parameters

name
String

the name of the header to return.

Returns

Implements

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to