Stop xhr.poll when i receive response

How can i stop XHR.poll function when i receive a response from backend.

By calling XHR.stop() when you receive the response.

got an error "diagnos:242 Uncaught TypeError: XHR.stop is not a function".
XHR.stop function not found in xhr.js file

Seems you're on an old version then. Try XHR.halt() instead.

1 Like

Thank You! XHR.halt() is working.
please share me the link to download the latest version.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.