SetSecureConnection (open)
Make a current TCP connection secure using SSL
Syntax
LOADLIB "wh::internet/tcpip.whlib";
BOOLEAN FUNCTION SetSecureConnection(INTEGER connectionid, BOOLEAN initiate, RECORD options)Parameters
INTEGER connectionidID of connection to secure
BOOLEAN initiateTrue to initiate a secure connection, false to accept a secure connection
RECORD optionsOptions
ciphersuitesOverride the ciphersuites to use
hostnameHostname to use for SNI
Return value
BOOLEANTrue on success