public function send()
    {
        $response = $this->_response;
        header($response->getStatus()->__toString());

        foreach ($response->getHeaders() as $headerField)
            header($headerField);

        if ($response->hasBody()) echo $response->getBody();
    }
public function send()
    {
        $response = $this->_response;
        header($response->getStatus()->__toString());

        foreach ($response->getHeaders() as $headerField)
            header($headerField);

        if ($response->hasBody()) echo $response->getBody();
    }
public function send ( ) { $ response = $ this -> _response ; header ( $ response -> getStatus ( ) -> __toString ( ) ) ; foreach ( $ response -> getHeaders ( ) as $ headerField ) header ( $ headerField ) ; if ( $ response -> hasBody ( ) ) echo $ response -> getBody ( ) ; }
Sends the headers and body.
Sends the headers and body .