\JHttpTransportCurl
HTTP transport class for using cURL.
Synopsis
class JHttpTransportCurl
implements
JHttpTransport
{
- // members
- protected JRegistry $options;
- // methods
- public void __construct()
- public JHttpResponse request()
- protected JHttpResponse getResponse()
- public static boolean isSupported()
Hierarchy
Implements
Members
protected
- $options — JRegistry
Methods
protected
- getResponse() — Method to get a response object from a server response.
public
- __construct() — Constructor. CURLOPT_FOLLOWLOCATION must be disabled when open_basedir or safe_mode are enabled.
- isSupported() — Method to check if HTTP transport cURL is available for use
- request() — Send a request to the server and return a JHttpResponse object with the response.