Page 1 of 1

TNetHttpClient or...

PostPosted: Fri Sep 14, 2018 5:26 am
by ingalime
Hi.
For android project I need use https (Get).
What is more correct to use TIdHttp or THttpClient or TNetHttpClient?
C++ Builder Tokio.

Re: TNetHttpClient or...

PostPosted: Fri Sep 14, 2018 9:50 am
by rlebeau
It is not about what is *correct*. They are all viable options. Use whatever you are comfortable using, and what works for your needs.

Re: TNetHttpClient or...

PostPosted: Wed Sep 19, 2018 6:15 am
by ingalime
I found this information:
1. TIdHttp need for ssl additional files from FTP Indy and for android need Tthread.
2. THttpClient do not need files if use ssl but need also Tthread for android.
3. TNetHttpClient do not need files if use ssl and do not need Tthread because calls are asynchronous.
The conclusion is: easiest to use TNetHttpClient for android. Is it correct for android project?