abort method

Stop the current request.

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.