Udostępnij za pośrednictwem


HttpURLConnection.Disconnect Method

Definition

Indicates that other requests to the server are unlikely in the near future.

[Android.Runtime.Register("disconnect", "()V", "GetDisconnectHandler")]
public abstract void Disconnect ();
[<Android.Runtime.Register("disconnect", "()V", "GetDisconnectHandler")>]
abstract member Disconnect : unit -> unit
Attributes

Remarks

Indicates that other requests to the server are unlikely in the near future. Calling disconnect() should not imply that this HttpURLConnection instance can be reused for other requests.

Java documentation for java.net.HttpURLConnection.disconnect().

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