Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CURL.SetOptionTimeoutMS
Sets the transfer timeout in milliseconds.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CURL | 2.5 | Yes | Yes | Yes | Yes | Yes |
MBS( "CURL.SetOptionTimeoutMS"; curl; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| Value | Timeout value in milliseconds. | 60000 |
Result
Returns "OK" on success.
Description
Sets the transfer timeout in milliseconds.Like CURL.SetOptionTimeOut but takes number of milliseconds instead. If libcurl is built to use the standard system name resolver, that portion of the transfer will still use full-second resolution for timeouts with a minimum timeout allowed of one second.
See also TIMEOUT_MS option in CURL manual.
Examples
Sets timeout to half second:
MBS( "CURL.SetOptionTimeoutMS"; $curl; 500 )
See also
Created 18th August 2014, last changed 8th December 2016
CURL.SetOptionTimeValue - CURL.SetOptionTransferEncoding
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins