共用方式為


IHttpClientConnection.IsResponseAvailable(Int32) Method

Definition

Checks if response data is available from the connection.

[Android.Runtime.Register("isResponseAvailable", "(I)Z", "GetIsResponseAvailable_IHandler:Org.Apache.Http.IHttpClientConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool IsResponseAvailable (int timeout);
[<Android.Runtime.Register("isResponseAvailable", "(I)Z", "GetIsResponseAvailable_IHandler:Org.Apache.Http.IHttpClientConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member IsResponseAvailable : int -> bool

Parameters

timeout
Int32

the maximum time in milliseconds to wait for data

Returns

Attributes

Exceptions

if an error happens on the connection

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