src/Generics/Client/HttpClientTrait.php
private function checkContentLengthExceeded(): bool
    {
        if (isset($this->headers['Content-Length'])) {
            if ($this->payload->count() >= $this->headers['Content-Length']) {
                return true;
            }
        }
        return false;
    }
private function checkContentLengthExceeded(): bool
    {
        if (isset($this->headers['Content-Length'])) {
            if ($this->payload->count() >= $this->headers['Content-Length']) {
                return true;
            }
        }
        return false;
    }
private function checkContentLengthExceeded ( ) : bool { if ( isset ( $ this -> headers [ 'Content-Length' ] ) ) { if ( $ this -> payload -> count ( ) >= $ this -> headers [ 'Content-Length' ] ) { return true ; } } return false ; }
Check whether the readen bytes amount has reached the
content length amount

@return bool
Check whether the readen bytes amount has reached the content length amount