abort method

void abort()

@AvailableInWorkers("window_and_worker_except_service")

The XMLHttpRequest.abort() method aborts the request if it has already been sent. When a request is aborted, its XMLHttpRequest.readyState is changed to XMLHttpRequest.UNSENT (0) and the request's XMLHttpRequest.status code is set to 0.

Implementation

external void abort();