Cancel the server HTTP request process

As shown in the Cancel DoJo XHR-Request , you can cancel the (dojo / request / xhr) http request on the Client. The problem is that the corresponding server process (initiated by the request) is still running.

If we use XMLHttpRequest-Object, calling abort () on it will stop the server process.

So the question is: is it possible to achieve this with dojo? Or can you access the internal XMLHttpRequest-Object (used by dojo / request / xhr) to call the abort () function on it?

0
source share

Source: https://habr.com/ru/post/970926/


All Articles