Search code examples
delphiindy

Which transport protocol does IdHTTP use


I have been asked by a company to document that our client only communicates to our server over the TCP protocol on a software level. I have always assumed that IdHTTP utilizes TCP but I am not sure how to prove it. I have not been able to find it in the documentation.


Solution

  • TIdHTTP is ultimately derived from TIdTCPConnection, so it uses TCP by default 1.

    1. Though this can be changed by assigning a non-TCP based TIdIOHandler-derived component to the TIdHTTP.IOHandler property.