HTTP Request - timeout
Posted: 15 Feb 2017 14:11
Hello,
I just started developing modules for Z-Way Server.
As the first module should provide some notification functionality, it is necessary to send a POST request via HTTP (using http.request()). Unfortunately, http.request() function seems to have only 5000 ms timeout, which is not enough for my purpose (response time from server is about 7 s). I already tried using timeout parameter (ajax syntax) without any success. Is there a way to set longer timeout?
Thank you
I just started developing modules for Z-Way Server.
As the first module should provide some notification functionality, it is necessary to send a POST request via HTTP (using http.request()). Unfortunately, http.request() function seems to have only 5000 ms timeout, which is not enough for my purpose (response time from server is about 7 s). I already tried using timeout parameter (ajax syntax) without any success. Is there a way to set longer timeout?
Thank you
