Issues regarding to Client class
in
Core Library Questions
•
4 months ago
Hello,
This is my first post in this forum.
I'm writing an sketch to poll an XML file from a webserver and I've successfully implemented the Client class. My issue comes when the webserver is missing, because I need to catch this exception.
Indeed, my webserver may not be available most of the time and I just need to check when it is available and then poll an XML from it.
How can I handle this situation? May I need to implement this sketch with an alternative to Client class?
Thanks in advance!
SAM
This is my first post in this forum.
I'm writing an sketch to poll an XML file from a webserver and I've successfully implemented the Client class. My issue comes when the webserver is missing, because I need to catch this exception.
Indeed, my webserver may not be available most of the time and I just need to check when it is available and then poll an XML from it.
How can I handle this situation? May I need to implement this sketch with an alternative to Client class?
Thanks in advance!
SAM
1