Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CURL.SetSSLBackend

Sets which backend to use for SSL connections.

Component Version macOS Windows Linux Server iOS SDK
CURL 14.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetSSLBackend"; Backend )   More

Parameters

Parameter Description Example
Backend The backend to use.
Can be secure-transport, openssl or schannel.
"openssl"

Result

Returns OK or error.

Description

Sets which backend to use for SSL connections.
Must be called before CURL.New function to pick a different SSL backend.
Default is openssl, but alternative secure-transport is available for macOS and schannel for Windows.

Examples

Set to use openssl library:

Set Variable [$r; Value: MBS("CURL.SetSSLBackend"; "openssl") ]

Set to use SecureTransport library on macOS:

Set Variable [$r; Value: MBS("CURL.SetSSLBackend"; "secure-transport") ]

Set to use SecureChannel library on Windows:

Set Variable [$r; Value: MBS("CURL.SetSSLBackend"; "schannel") ]

See also

Release notes

Blog Entries

This function is free to use.

Created 7th May 2024, last changed 7th May 2024


CURL.SetProgressScript - CURL.SetSucceededEvaluate