Hi all Delphier , good morning 😀😀
i have rest firemonkey app ,server , client
im trying to check if the server is up or down from the client side using the code below , the code work fine , but when i run it its freeze the app for a while
is there any proper way to do this ,thank you ,🤓☺️
try
RequestLogin.Execute;
if FrmLogin.RequestLogin.Response.Status.Success then
begin
showmessage ('server up')
do something .....
end
else
except on e : exception do
begin
showmessage (' server down.... go home ')
end
end;