mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-10 10:26:35 +00:00
Temporarily make function private for now
This commit is contained in:
@@ -195,6 +195,7 @@ More examples are available under [/examples](https://github.com/php-curl-class/
|
||||
Curl::__construct($base_url = null)
|
||||
Curl::__destruct()
|
||||
Curl::__get($name)
|
||||
Curl::_fastDownload($url, $filename, $connections = 4) {
|
||||
Curl::attemptRetry()
|
||||
Curl::beforeSend($callback)
|
||||
Curl::buildPostData($data)
|
||||
@@ -204,7 +205,6 @@ Curl::complete($callback)
|
||||
Curl::delete($url, $query_parameters = array(), $data = array())
|
||||
Curl::disableTimeout()
|
||||
Curl::download($url, $mixed_filename)
|
||||
Curl::fastDownload($url, $filename, $connections = 4)
|
||||
Curl::error($callback)
|
||||
Curl::exec($ch = null)
|
||||
Curl::execDone()
|
||||
|
||||
+2
-2
@@ -335,14 +335,14 @@ class Curl
|
||||
/**
|
||||
* Fast download
|
||||
*
|
||||
* @access public
|
||||
* @access private
|
||||
* @param $url
|
||||
* @param $filename
|
||||
* @param $connections
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function fastDownload($url, $filename, $connections = 4) {
|
||||
public function _fastDownload($url, $filename, $connections = 4) {
|
||||
// First we need to retrive the 'Content-Length' header.
|
||||
// Use GET because not all hosts support HEAD requests.
|
||||
$this->setOpts([
|
||||
|
||||
Reference in New Issue
Block a user