BasicLineFormatter.EstimateProtocolVersionLen(ProtocolVersion) Method

Definition

Guesses the length of a formatted protocol version.

[Android.Runtime.Register("estimateProtocolVersionLen", "(Lorg/apache/http/ProtocolVersion;)I", "GetEstimateProtocolVersionLen_Lorg_apache_http_ProtocolVersion_Handler")]
protected virtual int EstimateProtocolVersionLen (Org.Apache.Http.ProtocolVersion? version);
[<Android.Runtime.Register("estimateProtocolVersionLen", "(Lorg/apache/http/ProtocolVersion;)I", "GetEstimateProtocolVersionLen_Lorg_apache_http_ProtocolVersion_Handler")>]
abstract member EstimateProtocolVersionLen : Org.Apache.Http.ProtocolVersion -> int
override this.EstimateProtocolVersionLen : Org.Apache.Http.ProtocolVersion -> int

Parameters

version
ProtocolVersion

the protocol version to format, or null

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