Platforms to show: All Mac Windows Linux Cross-Platform
Back to CURLNSSLBackendMBS class.
CURLNSSLBackendMBS.List as CURLNSSLBackendMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CURL | MBS CURL Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The list may not be available if called too late.
CURLNSSLBackendMBS.SetSSLBackend(id as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CURL | MBS CURL Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
When built with multiple SSL backends, SetSSLBackend() allows to choose one. This function can only be called once, and it must be called *before* CURL constructor().
The backend can be identified by the id (e.g. CURLSSLBACKEND_OPENSSL). The backend can also be specified via the name parameter (passing -1 as id). If both id and name are specified, the name will be ignored. If neither id nor name are specified, the function will fail with CURLSSLSET_UNKNOWN_BACKEND and set the "avail" pointer to the NULL-terminated list of available backends.
Upon success, the function returns kErrorOK.
If the specified SSL backend is not available, the function returns kErrorUnknownBackend.
The SSL backend can be set only once. If it has already been set, a subsequent attempt to change it will result in a kErrorTooLate.
Returns nil, if there are no backends to choose.
See also:
CURLNSSLBackendMBS.SetSSLBackend(name as string) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CURL | MBS CURL Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
When built with multiple SSL backends, SetSSLBackend() allows to choose one. This function can only be called once, and it must be called *before* CURL constructor().
The backend can be identified by the id (e.g. CURLSSLBACKEND_OPENSSL). The backend can also be specified via the name parameter (passing -1 as id). If both id and name are specified, the name will be ignored. If neither id nor name are specified, the function will fail with CURLSSLSET_UNKNOWN_BACKEND and set the "avail" pointer to the NULL-terminated list of available backends.
Upon success, the function returns kErrorOK.
If the specified SSL backend is not available, the function returns kErrorUnknownBackend.
The SSL backend can be set only once. If it has already been set, a subsequent attempt to change it will result in a kErrorTooLate.
Returns nil, if there are no backends to choose.
See also:
The items on this page are in the following plugins: MBS CURL Plugin.