IHeaderValueFormatter.FormatHeaderElement 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.
Formats one header element.
[Android.Runtime.Register("formatHeaderElement", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/HeaderElement;Z)Lorg/apache/http/util/CharArrayBuffer;", "GetFormatHeaderElement_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_HeaderElement_ZHandler:Org.Apache.Http.Message.IHeaderValueFormatterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.Util.CharArrayBuffer? FormatHeaderElement (Org.Apache.Http.Util.CharArrayBuffer? buffer, Org.Apache.Http.IHeaderElement? elem, bool quote);
[<Android.Runtime.Register("formatHeaderElement", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/HeaderElement;Z)Lorg/apache/http/util/CharArrayBuffer;", "GetFormatHeaderElement_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_HeaderElement_ZHandler:Org.Apache.Http.Message.IHeaderValueFormatterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member FormatHeaderElement : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.IHeaderElement * bool -> Org.Apache.Http.Util.CharArrayBuffer
Parameters
- buffer
- CharArrayBuffer
the buffer to append to, or
null
to create a new buffer
- elem
- IHeaderElement
the header element to format
- quote
- Boolean
true
to always format with quoted values,
false
to use quotes only when necessary
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.