public function CachingStream::close in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/src/CachingStream.php \GuzzleHttp\Psr7\CachingStream::close()
Close both the remote stream and buffer stream
Overrides StreamDecoratorTrait::close
File
- vendor/
guzzlehttp/ psr7/ src/ CachingStream.php, line 124
Class
- CachingStream
- Stream decorator that can cache previously read bytes from a sequentially read stream.
Namespace
GuzzleHttp\Psr7Code
public function close() {
$this->remoteStream
->close() && $this->stream
->close();
}