public function log_http_response( $response, array $args, $url ) {
		$this->data['http'][ $args['_qm_key'] ]['end']      = microtime( true );
		$this->data['http'][ $args['_qm_key'] ]['response'] = $response;
		$this->data['http'][ $args['_qm_key'] ]['args']     = $args;
		if ( isset( $args['_qm_original_key'] ) ) {
			$this->data['http'][ $args['_qm_original_key'] ]['end']      = $this->data['http'][ $args['_qm_original_key'] ]['start'];
			$this->data['http'][ $args['_qm_original_key'] ]['response'] = new WP_Error( 'http_request_not_executed', sprintf(
				/* translators: %s: Hook name */
				__( 'Request not executed due to a filter on %s', 'query-monitor' ),
				'pre_http_request'
			) );
		}

		$this->data['http'][ $args['_qm_key'] ]['info']      = $this->info;
		$this->data['http'][ $args['_qm_key'] ]['transport'] = $this->transport;
		$this->info      = null;
		$this->transport = null;
	}
public function log_http_response( $response, array $args, $url ) {
		$this->data['http'][ $args['_qm_key'] ]['end']      = microtime( true );
		$this->data['http'][ $args['_qm_key'] ]['response'] = $response;
		$this->data['http'][ $args['_qm_key'] ]['args']     = $args;
		if ( isset( $args['_qm_original_key'] ) ) {
			$this->data['http'][ $args['_qm_original_key'] ]['end']      = $this->data['http'][ $args['_qm_original_key'] ]['start'];
			$this->data['http'][ $args['_qm_original_key'] ]['response'] = new WP_Error( 'http_request_not_executed', sprintf(
				/* translators: %s: Hook name */
				__( 'Request not executed due to a filter on %s', 'query-monitor' ),
				'pre_http_request'
			) );
		}

		$this->data['http'][ $args['_qm_key'] ]['info']      = $this->info;
		$this->data['http'][ $args['_qm_key'] ]['transport'] = $this->transport;
		$this->info      = null;
		$this->transport = null;
	}
public function log_http_response ( $ response , array $ args , $ url ) { $ this -> data [ 'http' ] [ $ args [ '_qm_key' ] ] [ 'end' ] = microtime ( true ) ; $ this -> data [ 'http' ] [ $ args [ '_qm_key' ] ] [ 'response' ] = $ response ; $ this -> data [ 'http' ] [ $ args [ '_qm_key' ] ] [ 'args' ] = $ args ; if ( isset ( $ args [ '_qm_original_key' ] ) ) { $ this -> data [ 'http' ] [ $ args [ '_qm_original_key' ] ] [ 'end' ] = $ this -> data [ 'http' ] [ $ args [ '_qm_original_key' ] ] [ 'start' ] ; $ this -> data [ 'http' ] [ $ args [ '_qm_original_key' ] ] [ 'response' ] = new WP_Error ( 'http_request_not_executed' , sprintf ( /* translators: %s: Hook name */ __ ( 'Request not executed due to a filter on %s' , 'query-monitor' ) , 'pre_http_request' ) ) ; } $ this -> data [ 'http' ] [ $ args [ '_qm_key' ] ] [ 'info' ] = $ this -> info ; $ this -> data [ 'http' ] [ $ args [ '_qm_key' ] ] [ 'transport' ] = $ this -> transport ; $ this -> info = null ; $ this -> transport = null ; }
Log an HTTP response.

@param array|WP_Error $response The HTTP response.
@param array          $args     HTTP request arguments.
@param string         $url      The request URL.
Log an HTTP response .