javascript - Forcing an http request to timeout from frontend -
javascript - Forcing an http request to timeout from frontend -
i making single page application using angular, @ times backend services not response or downwards , browser takes long time timeout request.
how can forcefully timeout http request frontend in lesser time, help me show message user backend not responding.
$http
config has timeout
property can set when making request $http
.
if want done @ global level $http
can @ post how set global http timeout in angularjs
javascript angularjs http frontend
Comments
Post a Comment