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.

Implementation

@DomName('XMLHttpRequest.abort')
@DocsEditable()
void abort() native;