Wouldn’t that require an actual response from the server? I’m more concerned with a timeout, i.e. lack of server response.
> On Mar 30, 2015, at 1:04 PM, Tandon, Rishi <[email protected]> wrote: > > You can try using $httpProvider.interceptors. > Refer: https://docs.angularjs.org/api/ng/service/$http > <https://docs.angularjs.org/api/ng/service/$http> > > > On Mon, Mar 30, 2015 at 3:46 PM, Jonathan Price <[email protected] > <mailto:[email protected]>> wrote: > We're building an ionic mobile application, and I need to handle resource > requests that never return. I was hoping to has some sort of universal > timeout for all of my resources (say, bail out if the server doesn't respond > within 10 seconds), but I'm not really sure how to proceed. Any of you doing > something like this? > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/angular > <http://groups.google.com/group/angular>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > > -- > Rishi Tandon > Pearson Learning Technology Group > > Mobile: (310) 926-9032 > > Pearson > Always Learning > Learn more at www.pearson.com <http://www.pearson.com/> > > -- > You received this message because you are subscribed to a topic in the Google > Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/gOfINt2TsW8/unsubscribe > <https://groups.google.com/d/topic/angular/gOfINt2TsW8/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/angular > <http://groups.google.com/group/angular>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
