Represents a cURL easy handle and the data it populates.

  • internal
public $errno

  • var int cURL error number (if any)
public $handle

  • var resource cURL resource
public $headers

  • var array Received HTTP headers so far
public $onHeadersException

  • var Exception Exception during on_headers (if any)
public $options

  • var array Request options
public $request

  • var RequestInterface Request being sent
public $response

  • var ResponseInterface Received response (if any)
public $sink

  • var StreamInterface Where data is being written
public __get( $name)
public createResponse()
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
ConfigurationNumbers (0-9.) only