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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

CURL.SetOptionConnectTo

Sets the connect to list.

Component Version macOS Windows Linux Server iOS SDK
CURL 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionConnectTo"; curl; Value... )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value... The option value.

Result

Returns OK or error.

Description

Sets the connect to list.
Sets list of host:port:connect-to-host:connect-to-port, overrides the URL's host:port (only for the network layer)

This function takes variable number of parameters. Pass as much parameters as needed separated by the semicolon in FileMaker.
Please repeat Value parameter as often as you need.

See also CONNECT_TO option in CURL manual.

See also

Created 15th April 2018, last changed 5th June 2021


CURL.SetOptionConnectTimeoutMS - CURL.SetOptionConnectionTimeout

Feedback: Report problem or ask question.