You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
365 B
19 lines
365 B
<?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;
|
|
}
|
|
}
|