Open Monograph Press  3.3.0
GuzzleHttp\Handler\EasyHandle Class Reference

Public Member Functions

 __get ($name)
 
 createResponse ()
 

Data Fields

 $errno = 0
 
 $handle
 
 $headers = []
 
 $onHeadersException
 
 $options = []
 
 $request
 
 $response
 
 $sink
 

Detailed Description

Represents a cURL easy handle and the data it populates.

Definition at line 14 of file EasyHandle.php.

Member Function Documentation

◆ __get()

GuzzleHttp\Handler\EasyHandle::__get (   $name)

Definition at line 109 of file EasyHandle.php.

◆ createResponse()

GuzzleHttp\Handler\EasyHandle::createResponse ( )

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

Exceptions

Definition at line 69 of file EasyHandle.php.

References GuzzleHttp\Handler\EasyHandle\$headers.

Field Documentation

◆ $errno

int GuzzleHttp\Handler\EasyHandle::$errno = 0

cURL error number (if any)

Definition at line 56 of file EasyHandle.php.

◆ $handle

resource GuzzleHttp\Handler\EasyHandle::$handle

cURL resource

Definition at line 20 of file EasyHandle.php.

◆ $headers

array GuzzleHttp\Handler\EasyHandle::$headers = []

Received HTTP headers so far

Definition at line 32 of file EasyHandle.php.

Referenced by GuzzleHttp\Handler\EasyHandle\createResponse().

◆ $onHeadersException

Exception GuzzleHttp\Handler\EasyHandle::$onHeadersException

Exception during on_headers (if any)

Definition at line 62 of file EasyHandle.php.

◆ $options

array GuzzleHttp\Handler\EasyHandle::$options = []

Request options

Definition at line 50 of file EasyHandle.php.

◆ $request

RequestInterface GuzzleHttp\Handler\EasyHandle::$request

Request being sent

Definition at line 44 of file EasyHandle.php.

◆ $response

ResponseInterface GuzzleHttp\Handler\EasyHandle::$response

Received response (if any)

Definition at line 38 of file EasyHandle.php.

◆ $sink

StreamInterface GuzzleHttp\Handler\EasyHandle::$sink

Where data is being written

Definition at line 26 of file EasyHandle.php.


The documentation for this class was generated from the following file: