开发者

How to create https client with synapse?

开发者 https://www.devze.com 2022-12-13 20:39 出处:网络
I need a https client used with开发者_开发百科 synapse. Do you have any demo about it? Thank a lot.Have you tried example from Synapse How-To: Using Tcp With Ssl On Tcp Client ?SynHttp := THTTPSend.

I need a https client used with开发者_开发百科 synapse.

Do you have any demo about it?

Thank a lot.


Have you tried example from Synapse How-To: Using Tcp With Ssl On Tcp Client ?


SynHttp := THTTPSend.Create;
SynHttp.Sock.CreateWithSSL(TSSLOpenSSL);
SynHttp.Sock.SSLDoConnect;
SynHttp.HTTPMethod('GET', 'https://www.google.com');
Memo1.Lines.LoadFromStream(SynHttp.Document);
0

精彩评论

暂无评论...
验证码 换一张
取 消