public function sendAndExit($code = null, array $headers = null)
    {
        $this->send($code, $headers);
        exit();
    }
public function sendAndExit($code = null, array $headers = null)
    {
        $this->send($code, $headers);
        exit();
    }
public function sendAndExit ( $ code = null , array $ headers = null ) { $ this -> send ( $ code , $ headers ) ; exit ( ) ; }
Send response and exit.

@param (int) $code
(array) $headers

@since 3.0.0

@return void
Send response and exit .