lithium\net\socket\Curl::close()

public method

Closes the curl connection.

Returns

boolean

True on closed connection

Source

	public function close() {
		if (!is_resource($this->_resource)) {
			return true;
		}
		curl_close($this->_resource);

		if (is_resource($this->_resource)) {
			$this->close();
		}
		return true;
	}