matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2016
09:29 AM
Re: Brightscript Timeout settings _getUrlToString
Hi Belltown, is the 5 second wait a min fixed time?;
if I put 30 (Seconds), will it wait until the 30 seconds is up if no response or if a response is received before the 30 seconds will stop waiting then move on? Thx
xmlString = _getPathToString (xmlPath, 5000)
if I put 30 (Seconds), will it wait until the 30 seconds is up if no response or if a response is received before the 30 seconds will stop waiting then move on? Thx
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2016
01:29 PM
Re: Brightscript Timeout settings _getUrlToString
"matrixebiz" wrote:
Hi Belltown, is the 5 second wait a min fixed time?;xmlString = _getPathToString (xmlPath, 5000)
if I put 30 (Seconds), will it wait until the 30 seconds is up if no response or if a response is received before the 30 seconds will stop waiting then move on? Thx
It's the maximum wait time when reading an external url (if the path is for a local package file, the timeout parameter does not apply). If a response is received before the timeout expires, the operation completes at that time, otherwise the operation will be cancelled when the timeout expires.
- « Previous
-
- 1
- 2
- Next »