Extends
lithium\net\Socket
Reads data from the curl connection.
The `read` method will utilize the curl options that have been set.
Returns
mixed Boolean false if the resource handle is unavailable, and the result of `curl_exec` otherwise.Links
Source
public function read() {
if (!is_resource($this->_resource)) {
return false;
}
return curl_exec($this->_resource);
}