You are here

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

Close both the remote stream and buffer stream

Overrides StreamDecoratorTrait::close

File

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

Class

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

Namespace

GuzzleHttp\Psr7

Code

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