abort method

  1. @DomName('XMLHttpRequest.abort')
  2. @DocsEditable()
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.

Source

@DomName('XMLHttpRequest.abort')
@DocsEditable()
void abort() => _blink.BlinkXMLHttpRequest.instance.abort_Callback_0_(this);

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