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 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
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
ConfigurationNumbers (0-9.) only