06-28-2023, 02:11 AM
(06-28-2023, 01:57 AM)cnielsen4211 Wrote: You see Betfair have two api's the HTTP Poling API which I have been using and to which you have already replied
That API uses HTTPS, which is HTTP over SSL/TLS. The SSLIOHandler.PassThrough controls the SSL/TLS handshake, and the TIdHTTP component sets the SSLIOHandler.PassThrough property for you on a per-connection basic as needed for each HTTP request.
(06-28-2023, 01:57 AM)cnielsen4211 Wrote: there is also a TCP Streaming API which if I was looking to try and use
That API uses plain TCP over SSL/TLS. The TIdTCPClient component DOES NOT set the SSLIOHandler.PassThrough property for you, so you have to set it yourself when needed.

