| 1 |
<?php |
| 2 |
|
| 3 |
namespace Psr\Http\Message; |
| 4 |
|
| 5 |
interface ServerRequestInterface extends RequestInterface |
| 6 |
{ |
| 7 |
public function getServerParams(): array; |
| 8 |
|
| 9 |
public function getCookieParams(): array; |
| 10 |
|
| 11 |
public function withCookieParams(array $cookies): ServerRequestInterface; |
| 12 |
|
| 13 |
public function getQueryParams(): array; |
| 14 |
|
| 15 |
public function withQueryParams(array $query): ServerRequestInterface; |
| 16 |
|
| 17 |
public function getUploadedFiles(): array; |
| 18 |
|
| 19 |
public function withUploadedFiles(array $uploadedFiles): ServerRequestInterface; |
| 20 |
|
| 21 |
public function getParsedBody(); |
| 22 |
|
| 23 |
public function withParsedBody($data): ServerRequestInterface; |
| 24 |
|
| 25 |
public function getAttributes(): array; |
| 26 |
|
| 27 |
public function getAttribute(string $name, $default = null); |
| 28 |
|
| 29 |
public function withAttribute(string $name, $value): ServerRequestInterface; |
| 30 |
|
| 31 |
public function withoutAttribute(string $name): ServerRequestInterface; |
| 32 |
} |
| 33 |
|