Share via


BasicLineFormatter.FormatProtocolVersion Method

Definition

Formats a protocol version.

[Android.Runtime.Register("formatProtocolVersion", "(Lorg/apache/http/ProtocolVersion;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;", "")]
public static string? FormatProtocolVersion (Org.Apache.Http.ProtocolVersion? version, Org.Apache.Http.Message.ILineFormatter? formatter);
[<Android.Runtime.Register("formatProtocolVersion", "(Lorg/apache/http/ProtocolVersion;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;", "")>]
static member FormatProtocolVersion : Org.Apache.Http.ProtocolVersion * Org.Apache.Http.Message.ILineFormatter -> string

Parameters

version
ProtocolVersion

the protocol version to format

formatter
ILineFormatter

the formatter to use, or null for the Default

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