You are here

public function CachingStream::eof in Auth0 Single Sign On 8.2

Returns true if the stream is at the end of the stream.

Return value

bool

Overrides StreamDecoratorTrait::eof

File

vendor/guzzlehttp/psr7/src/CachingStream.php, line 118

Class

CachingStream
Stream decorator that can cache previously read bytes from a sequentially read stream.

Namespace

GuzzleHttp\Psr7

Code

public function eof() {
  return $this->stream
    ->eof() && $this->remoteStream
    ->eof();
}