lithium\net\socket\Curl::close()
Implements
lithium\net\Socket::close()
Closes the curl connection.
Returns
booleanTrue on closed connection
Source
public function close() {
if (!is_resource($this->_resource)) {
return true;
}
curl_close($this->_resource);
return !is_resource($this->_resource);
}