Interface Symfony\Contracts\HttpClient\ChunkInterface

The interface of chunks returned by ResponseStreamInterface::current().

When the chunk is first, last or timeout, the content MUST be empty. When an unchecked timeout or a network error occurs, a TransportExceptionInterface MUST be thrown by the destructor unless one was already thrown by another method.

Methods