System.Net.HttpClient.Curl
Description
Unit contains THttpClient implementation using libcurl.
This is the default implementation on the Linux platform. When this unit is included in an uses clause on a non-Linux platform, it will register additional non-default THttpClient implementation. To use libcurl-based implementation, use one of the following options:
- Call
SetPreferredURLClient('curl')
to make libcurl based implementation default. - Call
THTTPClient(TURLSchemes.GetURLClientInstance('HTTP.CURL'))
to explicitly create a THTTPClient instance using libcurl-based implementation.
Routines
SetTraceOutput | Use SetTraceOutput to enable or disable the trace output for THttpClient and libcurl. |