src/components/Responder.php
public function handle_response( $callback_response ) {

		$this->callback_response = $callback_response;
		$this->response_type = $this->get_response_type();

		$this->send_response_headers();
		$this->send_response_body();
	}
public function handle_response( $callback_response ) {

		$this->callback_response = $callback_response;
		$this->response_type = $this->get_response_type();

		$this->send_response_headers();
		$this->send_response_body();
	}
Handles a response.

@param mixed $callback_response The response from the callback function.