Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionSSLVersion

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionSSLVersion"; handle; value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value Pass number from 0 to 3. 0

Result

Returns "OK" on success.

Description

Sets which version of SSL/TLS to attempt to use.
The available options are:
Default0The default action. This will attempt to figure out the remote SSL protocol version, i.e. either SSLv3 or TLSv1 (but not SSLv2, which became disabled by default with 7.18.1).
TLSv11Force TLSv1
SSLv22Force SSLv2
SSLv33Force SSLv3

Feedback: Report problem or ask question.




Links
MBS Realbasic tutorial videos - Förderverein St. Arnulf Nickenich