src/SnooPHP/Http/Response.php
public function parse()
	{
		// Set response code
		http_response_code($this->code);

		// Set response header
		foreach ($this->headers as $header => $val)
			header("$header: $val");

		// Echo content
		echo $this->content;
	}
public function parse()
	{
		// Set response code
		http_response_code($this->code);

		// Set response header
		foreach ($this->headers as $header => $val)
			header("$header: $val");

		// Echo content
		echo $this->content;
	}
public function parse ( ) { // Set response code
 http_response_code ( $ this -> code ) ; // Set response header
 foreach ( $ this -> headers as $ header => $ val ) header ( "$header: $val" ) ; // Echo content
 echo $ this -> content ; }
Apply response
Apply response