Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Betfair Streaming API
#4
(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.

Reply


Messages In This Thread
Betfair Streaming API - by cnielsen4211 - 06-27-2023, 01:08 AM
RE: Betfair Streaming API - by rlebeau - 06-28-2023, 01:53 AM
RE: Betfair Streaming API - by cnielsen4211 - 06-28-2023, 01:57 AM
RE: Betfair Streaming API - by rlebeau - 06-28-2023, 02:11 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)