$context
$context : resource
Converts Guzzle streams into PHP stream resources.
$stream : \Psr\Http\Message\StreamInterface
getResource(\Psr\Http\Message\StreamInterface $stream) : resource
Returns a resource representing the stream.
\Psr\Http\Message\StreamInterface | $stream | The stream to get a resource for |
if stream is not readable or writable