\JHttpTransportSocket
HTTP transport class for using sockets directly.
Synopsis
class JHttpTransportSocket
implements
JHttpTransport
{
- // members
- protected $connections;
- protected JRegistry $options;
- // methods
- public void __construct()
- public JHttpResponse request()
- protected JHttpResponse getResponse()
- protected resource connect()
- public static boolean isSupported()
Hierarchy
Implements
Members
protected
- $connections — array
- $options — JRegistry
Methods
protected
- connect() — Method to connect to a server and get the resource.
- getResponse() — Method to get a response object from a server response.
public
- __construct() — Constructor.
- isSupported() — Method to check if http transport socket available for use
- request() — Send a request to the server and return a JHttpResponse object with the response.