Closed
Description
Description
If I do the following code, I will get an error because Symfony StreamWrapper does not support stream_set_option
.
$client = \Symfony\Component\HttpClient\HttpClient::create();
$response = $client->request('GET', 'https://example.com');
$stream = $response->toStream();
\stream_set_blocking($stream, 0); // Trigger error / Returns false