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

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -