HttpEngine.Shutdown Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Shuts down the HttpEngine
if there are no active requests,
otherwise throws an exception.
[Android.Runtime.Register("shutdown", "()V", "GetShutdownHandler", ApiSince=34)]
public abstract void Shutdown ();
[<Android.Runtime.Register("shutdown", "()V", "GetShutdownHandler", ApiSince=34)>]
abstract member Shutdown : unit -> unit
- Attributes
Remarks
Shuts down the HttpEngine
if there are no active requests, otherwise throws an exception.
Cannot be called on network thread - the thread the HTTP stack calls into Executor on (which is different from the thread the Executor invokes callbacks on). May block until all the HttpEngine
resources have been cleaned up.
Java documentation for android.net.http.HttpEngine.shutdown()
.
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.