Difference between revisions of "AddSSLHandler"
From SCAR Divi Manual
(→Availability) |
|||
| Line 7: | Line 7: | ||
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. | + | *Before SCAR Divi 3.25, if '''HTTP''' was set to [[false]], an SSL handler could be added to a TCP connection. |
==Description== | ==Description== | ||
Revision as of 09:54, 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.