Language

IHttpConnectionMetrics.ResponseCount Property

Definition

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

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

Property Value

The reported response count, or 0 if the count is unavailable. The built-in connections increment the count after processing a response header with status 200 or greater, 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