When using an http client to make a request to a device in S#, is there a way to adjust the timeout before the Crestron system throws an exception that device has not responded in a timely manner?
?? ??? ?? try
?? ??? ?? {
?? ??? ??? ???? HttpClient client = new HttpClient();
?? ??? ??? ???? HttpClientRequest request = new HttpClientRequest();
?? ??? ??? ??? ?HttpClientResponse response;
etc.
?? ???? ??? ??? response = client.Dispatch(request);
etc.
I'm trying to communicate with a battery operated IoT device. I'm finding that the device can go to sleep and when it does it takes a long time to respond.? I'm hoping to simply adjust the timeout value to give it time to wake up but I haven't been able to find a way to do it.? Doing all this in VS2008 so the code is compatible with a 3 series processor.
Thanks in advance for the help
Jay