Hi, the curl request could work faster when added options like these:
CURLOPT_TCP_FASTOPEN => true // https://curl.se/libcurl/c/CURLOPT_TCP_FASTOPEN.html
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4 // https://curl.se/libcurl/c/CURLOPT_IPRESOLVE.html -> shoud me maybe a setter method for peaple who wants to use ipv6
CURLOPT_ENCODING => '' // to enable compression, see php docs
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_2TLS // see https://curl.se/libcurl/c/CURLOPT_HTTP_VERSION.html -> maybe as a setter too
Hi, the curl request could work faster when added options like these:
CURLOPT_TCP_FASTOPEN => true // https://curl.se/libcurl/c/CURLOPT_TCP_FASTOPEN.html
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4 // https://curl.se/libcurl/c/CURLOPT_IPRESOLVE.html -> shoud me maybe a setter method for peaple who wants to use ipv6
CURLOPT_ENCODING => '' // to enable compression, see php docs
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_2TLS // see https://curl.se/libcurl/c/CURLOPT_HTTP_VERSION.html -> maybe as a setter too