phasync\Psr\ReadChannelStream
final
class
Documentation
A PSR-7 StreamInterface which reads string chunks from a phasync
ReadChannelInterface.
Inheritance
Implements:
Psr\Http\Message\StreamInterface
Stringable
Properties (3)
phasync\ReadChannelInterface $source
int $size
int $offset
Methods (16)
Documentation missing
Reads all data from the stream into a string, from the beginning to end.
Closes the stream and any underlying resources.
Separates any underlying resources from the stream.
Documentation missing
Returns the current position of the file read/write pointer
Returns true if the stream is at the end of the stream.
Returns whether or not the stream is seekable.
Seek to a position in the stream.
Seek to the beginning of the stream.
Returns whether or not the stream is writable.
Write data to the stream.
Returns whether or not the stream is readable.
Read data from the stream.
Returns the remaining contents in a string
Get stream metadata as an associative array or retrieve a specific key.