public function action_http_api_debug( $response, $action, $class, $args, $url ) {

		switch ( $action ) {

			case 'response':
				if ( ! empty( $class ) ) {
					$this->data['http'][ $args['_qm_key'] ]['transport'] = str_replace( 'wp_http_', '', strtolower( $class ) );
				} else {
					$this->data['http'][ $args['_qm_key'] ]['transport'] = null;
				}

				$this->log_http_response( $response, $args, $url );

				break;

			case 'transports_list':
				# Nothing
				break;

		}

	}
public function action_http_api_debug( $response, $action, $class, $args, $url ) {

		switch ( $action ) {

			case 'response':
				if ( ! empty( $class ) ) {
					$this->data['http'][ $args['_qm_key'] ]['transport'] = str_replace( 'wp_http_', '', strtolower( $class ) );
				} else {
					$this->data['http'][ $args['_qm_key'] ]['transport'] = null;
				}

				$this->log_http_response( $response, $args, $url );

				break;

			case 'transports_list':
				# Nothing
				break;

		}

	}
public function action_http_api_debug ( $ response , $ action , $ class , $ args , $ url ) { switch ( $ action ) { case 'response' : if ( ! empty ( $ class ) ) { $ this -> data [ 'http' ] [ $ args [ '_qm_key' ] ] [ 'transport' ] = str_replace ( 'wp_http_' , '' , strtolower ( $ class ) ) ; } else { $ this -> data [ 'http' ] [ $ args [ '_qm_key' ] ] [ 'transport' ] = null ; } $ this -> log_http_response ( $ response , $ args , $ url ) ; break ; case 'transports_list' : # Nothing break ; } }
Debugging action for the HTTP API.

@param mixed  $response A parameter which varies depending on $action.
@param string $action   The debug action. Currently one of 'response' or 'transports_list'.
@param string $class    The HTTP transport class name.
@param array  $args     HTTP request arguments.
@param string $url      The request URL.
Debugging action for the HTTP API .