void abort( )

Stop the current request.

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

Source

/**
 * Stop the current request.
 *
 * The request can only be stopped if readyState is `HEADERS_RECIEVED` or
 * `LOADING`. If this method is not in the process of being sent, the method
 * has no effect.
 */
@DomName('XMLHttpRequest.abort')
@DocsEditable()
void abort() => _blink.BlinkXMLHttpRequest.instance.abort_Callback_0_(unwrap_jso(this));