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...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
==Availability== | ==Availability== | ||
SCAR Divi 3.00 > Current | 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== | ==Description== | ||
− | Adds an [http://en.wikipedia.org/wiki/Transport_Layer_Security SSL] handler to | + | Adds an [http://en.wikipedia.org/wiki/Transport_Layer_Security SSL] handler to an HTTP connection specified by '''Index'''. The parameter '''HTTP''' should always be [[true]]. |
==Example== | ==Example== | ||
Line 32: | 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.