You are here

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

Closes the stream and any underlying resources.

Return value

void

Overrides StreamInterface::close

1 call to BufferStream::close()
BufferStream::detach in vendor/guzzlehttp/psr7/src/BufferStream.php
Separates any underlying resources from the stream.

File

vendor/guzzlehttp/psr7/src/BufferStream.php, line 44

Class

BufferStream
Provides a buffer stream that can be written to to fill a buffer, and read from to remove bytes from the buffer.

Namespace

GuzzleHttp\Psr7

Code

public function close() {
  $this->buffer = '';
}