改名
This commit is contained in:
@@ -50,6 +50,12 @@ class Client
|
||||
|
||||
private $connect_timeout = 1;
|
||||
|
||||
const GET = 'get';
|
||||
const PUT = 'put';
|
||||
const POST = 'post';
|
||||
const DELETE = 'delete';
|
||||
const OPTIONS = 'option';
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
@@ -100,19 +106,6 @@ class Client
|
||||
$this->port = $port;
|
||||
}
|
||||
|
||||
const POST = 'post';
|
||||
const GET = 'get';
|
||||
const PUT = 'put';
|
||||
const DELETE = 'delete';
|
||||
const OPTIONS = 'option';
|
||||
|
||||
/**
|
||||
* HttpClient constructor.
|
||||
*/
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return Http2
|
||||
@@ -264,7 +257,6 @@ class Client
|
||||
}
|
||||
$client->close();
|
||||
return $param;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user