Angular 6: Check availability of hosts/servers

771 Views Asked by At

I have done a lot of research, but there was no real success.

I'm looking for a way to check reachability/availability of hosts with angular? E.g. I want to check if the authentication backend is available? The only way I found so far is by using the HttpClient to open a connection and check if an error occurs?

Are there any other/better ways of accomplishing such a task?

Thanks in advance.

0

There are 0 best solutions below