Back to CurlTransport class

Method isSupported

public static bool
isSupported
()
Method to check if HTTP transport cURL is available for use
Returns
  • bool true if available, else false
Since
  • 3.0.0
Class: CurlTransport
Project: Joomla

Method isSupported - Source code

/**
 * Method to check if HTTP transport cURL is available for use
 *
 * @return boolean true if available, else false
 *
 * @since   3.0.0
 */
public static function isSupported()
{
    return \function_exists('curl_version') && curl_version();
}