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

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -