abort method

void abort ()

Stop the current request.

The request can only be stopped if readyState is HEADERS_RECEIVED or LOADING. If this method is not in the process of being sent, the method has no effect.

Implementation

void abort() native;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/HttpRequest/abort.html