4

I need a https client used with synapse.

Do you have any demo about it?

Thank a lot.

Thom A
  • 88,727
  • 11
  • 45
  • 75
flashvnn
  • 273
  • 6
  • 15

2 Answers2

3

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

Michał Niklas
  • 53,067
  • 18
  • 70
  • 114
1
SynHttp := THTTPSend.Create;
SynHttp.Sock.CreateWithSSL(TSSLOpenSSL);
SynHttp.Sock.SSLDoConnect;
SynHttp.HTTPMethod('GET', 'https://www.google.com');
Memo1.Lines.LoadFromStream(SynHttp.Document);
PFeng
  • 101
  • 1
  • 13