Difference between revisions of "AddSSLHandler"
From SCAR Divi Manual
(→Availability) |
|||
Line 34: | Line 34: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Internet Functions]] | [[Category:Internet Functions]] | ||
+ | [[Category:HTTP Functions]] |
Latest revision as of 09:56, 4 July 2011
Definition
procedure AddSSLHandler(const Index: Integer; const HTTP: Boolean);
Availability
SCAR Divi 3.00 > Current
- Before SCAR Divi 3.25, if HTTP was set to false, an SSL handler could be added to a TCP connection.
Description
Adds an SSL handler to an HTTP connection specified by Index. The parameter HTTP should always be true.
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.