Copied!

Represents a cURL easy handle and the data it populates.

  • internal
Cloneable Final Instantiable
Properties
public $createResponseException
 
  • var Exception | null Exception during createResponse (if any)
public $errno
 
  • var int cURL error number (if any)
public $handle
 
  • var resource | CurlHandle cURL resource
public $headers
 
  • var array Received HTTP headers so far
public $onHeadersException
 
  • var Throwable | null Exception during on_headers (if any)
public $options
 
  • var array Request options
public $request
 
  • var RequestInterface Request being sent
public $response
 
  • var ResponseInterface | null Received response (if any)
public $sink
 
  • var StreamInterface Where data is being written
Methods
public __get ( $name )
 
  • return void
  • throws BadMethodCallException
public createResponse () : void
 

Attach a response to the easy handle based on the received headers.

  • throws RuntimeException if no headers have been received.
© 2020 Bruce Wells
Search Namespaces \ Classes
Configuration Numbers (0-9.) only