Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
GuzzleHttp\Handler\EasyHandle Class Reference

Public Member Functions

 __get ($name)
 
 createResponse ()
 Attach a response to the easy handle based on the received headers.
 

Public Attributes

Exception null $createResponseException
 Exception during createResponse (if any)
 
int $errno = 0
 cURL error number (if any)
 
resource CurlHandle $handle
 cURL resource
 
array $headers = []
 Received HTTP headers so far.
 
Throwable null $onHeadersException
 Exception during on_headers (if any)
 
array $options = []
 Request options.
 
RequestInterface $request
 Request being sent.
 
ResponseInterface null $response
 Received response (if any)
 
StreamInterface $sink
 Where data is being written.
 

Member Function Documentation

◆ __get()

GuzzleHttp\Handler\EasyHandle::__get ( $name)
Parameters
string$name
Return values
void
Exceptions
BadMethodCallException

◆ createResponse()

GuzzleHttp\Handler\EasyHandle::createResponse ( )

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

Exceptions
RuntimeExceptionif no headers have been received or the first header line is invalid.

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