WordPress\AiClientDependencies\Psr\Http\Message
StreamInterface::read
Read data from the stream.
Method of the class: StreamInterface{}
No Hooks.
Returns
String. Returns the data read from the stream, or an empty string
if no bytes are available.
Usage
$StreamInterface = new StreamInterface(); $StreamInterface->read( $length ): string;
- $length(int) (required)
- Read up to
$lengthbytes from the object and return
php them. Fewer than $length bytes may be returned if underlying stream call returns fewer bytes. .
StreamInterface::read() StreamInterface::read code WP 7.0
public function read(int $length): string;