I am trying to connect to an API that keeps the connection alive and sends the chunked data.
I have a solution that uses fsockopen which writes and reads the stream and uses while(!$stream->eof()).
I am wondering if I can use Guzzle to acheive the same result?
I saw the Async method but can some show me how to wait for stream?