original_string: public function read () {
  			if( ! $this->write_finished ) { $this->finishWrite(); }
  			$this->read_started = true;
  
  			$response = new AWSResponse();
  			while( ! feof( $this->socket ) ) {
  				$line = fgets( $this->socket );
  				if( AWSResponse::EOF == $response->line( $line ) ) {
  					break;
  				}
  			}
  			$response->complete();
  
  			return $response;
  		}
code: public function read () {
  			if( ! $this->write_finished ) { $this->finishWrite(); }
  			$this->read_started = true;
  
  			$response = new AWSResponse();
  			while( ! feof( $this->socket ) ) {
  				$line = fgets( $this->socket );
  				if( AWSResponse::EOF == $response->line( $line ) ) {
  					break;
  				}
  			}
  			$response->complete();
  
  			return $response;
  		}
code_tokens: public function read ( ) { if ( ! $ this -> write_finished ) { $ this -> finishWrite ( ) ; } $ this -> read_started = true ; $ response = new AWSResponse ( ) ; while ( ! feof ( $ this -> socket ) ) { $ line = fgets ( $ this -> socket ) ; if ( AWSResponse :: EOF == $ response -> line ( $ line ) ) { break ; } } $ response -> complete ( ) ; return $ response ; }
docstring: Read the socket for a response
docstring_tokens: Read the socket for a response