2 namespace GuzzleHttp\Psr7;
4 use Psr\Http\Message\StreamInterface;
7 * Stream decorator that prevents a stream from being seeked
9 class NoSeekStream implements StreamInterface
11 use StreamDecoratorTrait;
13 public function seek($offset, $whence = SEEK_SET)
15 throw new \RuntimeException('Cannot seek a NoSeekStream');
18 public function isSeekable()