Udostępnij za pośrednictwem


ILineFormatter.FormatHeader(CharArrayBuffer, IHeader) Method

Definition

Formats a header.

[Android.Runtime.Register("formatHeader", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/Header;)Lorg/apache/http/util/CharArrayBuffer;", "GetFormatHeader_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_Header_Handler:Org.Apache.Http.Message.ILineFormatterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.Util.CharArrayBuffer? FormatHeader (Org.Apache.Http.Util.CharArrayBuffer? buffer, Org.Apache.Http.IHeader? header);
[<Android.Runtime.Register("formatHeader", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/Header;)Lorg/apache/http/util/CharArrayBuffer;", "GetFormatHeader_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_Header_Handler:Org.Apache.Http.Message.ILineFormatterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member FormatHeader : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.IHeader -> Org.Apache.Http.Util.CharArrayBuffer

Parameters

buffer
CharArrayBuffer

a buffer available for formatting, or null. The buffer will be cleared before use.

header
IHeader

the header to format

Returns

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