| @@ -1,28 +1,0 @@ | ||
| 1 | -<?php | |
| 2 | - | |
| 3 | -namespace Psr\Http\Message; | |
| 4 | - | |
| 5 | -interface MessageInterface | |
| 6 | -{ | |
| 7 | - public function getProtocolVersion(): string; | |
| 8 | - | |
| 9 | - public function withProtocolVersion(string $version): MessageInterface; | |
| 10 | - | |
| 11 | - public function getHeaders(): array; | |
| 12 | - | |
| 13 | - public function hasHeader(string $name): bool; | |
| 14 | - | |
| 15 | - public function getHeader(string $name): array; | |
| 16 | - | |
| 17 | - public function getHeaderLine(string $name): string; | |
| 18 | - | |
| 19 | - public function withHeader(string $name, $value): MessageInterface; | |
| 20 | - | |
| 21 | - public function withAddedHeader(string $name, $value): MessageInterface; | |
| 22 | - | |
| 23 | - public function withoutHeader(string $name): MessageInterface; | |
| 24 | - | |
| 25 | - public function getBody(): StreamInterface; | |
| 26 | - | |
| 27 | - public function withBody(StreamInterface $body): MessageInterface; | |
| 28 | -} | |