Language

IHttpConnectionMetrics.RequestCount Property

Definition

Returns the number of requests transferred over the connection, 0 if not available.

public long RequestCount { [Android.Runtime.Register("getRequestCount", "()J", "GetGetRequestCountHandler:Org.Apache.Http.IHttpConnectionMetricsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getRequestCount", "()J", "GetGetRequestCountHandler:Org.Apache.Http.IHttpConnectionMetricsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.RequestCount : int64

Property Value

The reported request count, or 0 if the count is unavailable. The built-in connections increment the count after processing a request header, regardless of entity transfer.

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