public function _halt($code = 200, $message = '') {
        $this->response()
            ->clear()
            ->status($code)
            ->write($message)
            ->send();
        exit();
    }
public function _halt($code = 200, $message = '') {
        $this->response()
            ->clear()
            ->status($code)
            ->write($message)
            ->send();
        exit();
    }
public function _halt ( $ code = 200 , $ message = '' ) { $ this -> response ( ) -> clear ( ) -> status ( $ code ) -> write ( $ message ) -> send ( ) ; exit ( ) ; }
Stops processing and returns a given response.

@param int $code HTTP status code
@param string $message Response message
Stops processing and returns a given response .