GuzzleHttpPsr7NoSeekStream

Stream decorator that prevents a stream from being seeked.

Defined (1)

The class is defined in the following location(s).

/lib/Azure/GuzzleHttp/Psr7/NoSeekStream.php  
  1. class NoSeekStream implements StreamInterface 
  2. use StreamDecoratorTrait; 
  3.  
  4. public function seek($offset, $whence = SEEK_SET) 
  5. throw new \RuntimeException('Cannot seek a NoSeekStream'); 
  6.  
  7. public function isSeekable() 
  8. return false;