添加网站文件
This commit is contained in:
18
vendor/qiniu/php-sdk/src/Qiniu/Http/Request.php
vendored
Normal file
18
vendor/qiniu/php-sdk/src/Qiniu/Http/Request.php
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace Qiniu\Http;
|
||||
|
||||
final class Request
|
||||
{
|
||||
public $url;
|
||||
public $headers;
|
||||
public $body;
|
||||
public $method;
|
||||
|
||||
public function __construct($method, $url, array $headers = array(), $body = null)
|
||||
{
|
||||
$this->method = strtoupper($method);
|
||||
$this->url = $url;
|
||||
$this->headers = $headers;
|
||||
$this->body = $body;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user