IHttpMessage.GetHeaders(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns all the headers with a specified name of this message.
[Android.Runtime.Register("getHeaders", "(Ljava/lang/String;)[Lorg/apache/http/Header;", "GetGetHeaders_Ljava_lang_String_Handler:Org.Apache.Http.IHttpMessageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.IHeader[]? GetHeaders (string? name);
[<Android.Runtime.Register("getHeaders", "(Ljava/lang/String;)[Lorg/apache/http/Header;", "GetGetHeaders_Ljava_lang_String_Handler:Org.Apache.Http.IHttpMessageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetHeaders : string -> Org.Apache.Http.IHeader[]
Parameters
- name
- String
the name of the headers to return.
Returns
IHeader[]
- 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.