Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: