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
Lists the backends.
Example
dim list() as CURLNSSLBackendMBS = CURLNSSLBackendMBS.List

for each l as CURLNSSLBackendMBS in list
MsgBox l.name
next

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
Sets the SSL backend.

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
Sets the SSL backend.

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.


The biggest plugin in space...