| 1: | <?php declare(strict_types=1); |
| 2: | |
| 3: | namespace Salient\Contract\Http\Message; |
| 4: | |
| 5: | use Salient\Contract\Http\HasHttpHeader; |
| 6: | |
| 7: | /** |
| 8: | * @api |
| 9: | */ |
| 10: | interface MultipartStreamInterface extends StreamInterface, HasHttpHeader |
| 11: | { |
| 12: | /** |
| 13: | * Get an array that contains each of the stream's parts |
| 14: | * |
| 15: | * @return StreamPartInterface[] |
| 16: | */ |
| 17: | public function getParts(): array; |
| 18: | |
| 19: | /** |
| 20: | * Get the encapsulation boundary of the stream |
| 21: | */ |
| 22: | public function getBoundary(): string; |
| 23: | } |
| 24: |