Język

IHttpMessage.HeaderIterator Method

Definition

Overloads

Name Description
HeaderIterator()

Returns an iterator of the headers with a given name.

HeaderIterator(String)

Returns an iterator of the headers with a given name.

HeaderIterator()

Returns an iterator of the headers with a given name.

[Android.Runtime.Register("headerIterator", "()Lorg/apache/http/HeaderIterator;", "GetHeaderIteratorHandler:Org.Apache.Http.IHttpMessageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.IHeaderIterator? HeaderIterator();
[<Android.Runtime.Register("headerIterator", "()Lorg/apache/http/HeaderIterator;", "GetHeaderIteratorHandler:Org.Apache.Http.IHttpMessageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member HeaderIterator : unit -> Org.Apache.Http.IHeaderIterator

Returns

An iterator over all message headers in transmission order.

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

HeaderIterator(String)

Returns an iterator of the headers with a given name.

[Android.Runtime.Register("headerIterator", "(Ljava/lang/String;)Lorg/apache/http/HeaderIterator;", "GetHeaderIterator_Ljava_lang_String_Handler:Org.Apache.Http.IHttpMessageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.IHeaderIterator? HeaderIterator(string? name);
[<Android.Runtime.Register("headerIterator", "(Ljava/lang/String;)Lorg/apache/http/HeaderIterator;", "GetHeaderIterator_Ljava_lang_String_Handler:Org.Apache.Http.IHttpMessageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member HeaderIterator : string -> Org.Apache.Http.IHeaderIterator

Parameters

name
String

the name of the headers over which to iterate, or null for all headers

Returns

An iterator over headers with the specified name in transmission order, or over all headers when name is null.

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