Jump to content
nickneykov

Delphi 12.1 TCurlHTTPClient

Recommended Posts

Hello,

I've been using Delphi for a long time, but in version 12.1 I noticed that the TCurlHTTPClient class exists. Is it possible for someone to provide examples of its use. I've been using the external library associated with libcurl.dll for several years. Is it already possible to create applications without it using the specified class?

Greetings

Nikolai Neikov

Share this post


Link to post

You still need libcurl.dll if you want to use TCurlHTTPClient. It is a wrapper class for curl, but the curl itself is in the DLL. TCurlHTTPClient is THTTPClient descendant so you can easily switch between different HTTP implementations without changing other code.

Share this post


Link to post
Posted (edited)

image.png.7fe5e5b8a57cb80bd798930c0083d680.png

 

Take from "System.Curl"

Edited by DelphiUdIT

Share this post


Link to post

Hello,

yes i see i saw that but thought i'd ask anyway in case there are other settings. However, the question remains about some examples, because I did not find any description of use in the documentation.

 

Dalija Prasnikar - Thanks for sharing your experience with the book .

 

Greetings

Nikolai Neikov

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×