function CurlFactory::supportsTls12
2 calls to CurlFactory::supportsTls12()
- CurlFactory::applyHandlerOptions in vendor/
guzzlehttp/ guzzle/ src/ Handler/ CurlFactory.php - CurlFactory::supportsHttp2 in vendor/
guzzlehttp/ guzzle/ src/ Handler/ CurlFactory.php
File
-
vendor/
guzzlehttp/ guzzle/ src/ Handler/ CurlFactory.php, line 99
Class
- CurlFactory
- Creates curl resources from a request
Namespace
GuzzleHttp\HandlerCode
private static function supportsTls12() : bool {
static $supportsTls12 = null;
if (null === $supportsTls12) {
$supportsTls12 = \CURL_SSLVERSION_TLSv1_2 & \curl_version()['features'];
}
return $supportsTls12;
}