\GuzzleHttp\HandlerEasyHandle

Represents a cURL easy handle and the data it populates.

Summary

Methods
Properties
Constants
createResponse()
__get()
$handle
$sink
$headers
$response
$request
$options
$errno
$onHeadersException
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$handle

$handle : resource

Type

resource — cURL resource

$headers

$headers : array

Type

array — Received HTTP headers so far

$options

$options : array

Type

array — Request options

$errno

$errno : integer

Type

integer — cURL error number (if any)

$onHeadersException

$onHeadersException : \Exception

Type

\Exception — Exception during on_headers (if any)

Methods

createResponse()

createResponse() 

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

Throws

\RuntimeException

if no headers have been received.

__get()

__get(  $name) 

Parameters

$name