private function readDefault(int $readLength): string
    {
        $body = $buffer = '';
        $read = 0;
        while ($read < $readLength && !$this->socket->eof()) {
            $buffer  = $this->socket->read($readLength);
            $read   += strlen($buffer);
            $body   .= $buffer;
        }

        return $body;
    }
private function readDefault(int $readLength): string
    {
        $body = $buffer = '';
        $read = 0;
        while ($read < $readLength && !$this->socket->eof()) {
            $buffer  = $this->socket->read($readLength);
            $read   += strlen($buffer);
            $body   .= $buffer;
        }

        return $body;
    }
private function readDefault ( int $ readLength ) : string { $ body = $ buffer = '' ; $ read = 0 ; while ( $ read < $ readLength && ! $ this -> socket -> eof ( ) ) { $ buffer = $ this -> socket -> read ( $ readLength ) ; $ read += strlen ( $ buffer ) ; $ body .= $ buffer ; } return $ body ; }
helper method for default reading of response body

@param   int     $readLength  expected length of response body
@return  string
helper method for default reading of response body