F
F
FrogFog2017-11-26 17:30:12
JavaScript
FrogFog, 2017-11-26 17:30:12

How to check the server for availability?

Good day.

I am writing an application for a price checker, the principle is this, I access the server via AJAX, receive JSON and display the data on the screen. It is necessary to check the server for availability by constant polling and display a hidden block on the screen if there is no connection to the server.

Please tell me how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dark Hole, 2017-11-26
@FrogFog

Catching "fallen" requests by timeout

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question