Difference between revisions of "AddSSLHandler"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> procedure AddSSLHandler(const Index: Integer; const HTTP: Boolean); </source> ==Availability== SCAR Divi 3.00 > Current ==Desc...") |
(No difference)
|
Revision as of 12:28, 3 July 2011
Definition
procedure AddSSLHandler(const Index: Integer; const HTTP: Boolean);
Availability
SCAR Divi 3.00 > Current
Description
Adds an SSL handler to a connection specified by Index. If HTTP is true, the connection is an HTTP connection, else just a regular TCP connection.
Example
var i: Integer; begin i := InitializeHTTPClient(True, True); try AddSSLHandler(i, True); WriteLn(GetHTTPPage(i, 'https://encrypted.google.com/')); finally FreeHTTPClient(i); end; end.