public function emit(ResponseInterface $response)
    {
        if ($response instanceof \Jasny\HttpMessage\Response) {
            $response->emit($this);
            return;
        }
        
        $this->emitStatus($response);
        $this->emitHeaders($response);
        $this->emitBody($response);
    }
public function emit(ResponseInterface $response)
    {
        if ($response instanceof \Jasny\HttpMessage\Response) {
            $response->emit($this);
            return;
        }
        
        $this->emitStatus($response);
        $this->emitHeaders($response);
        $this->emitBody($response);
    }
public function emit ( ResponseInterface $ response ) { if ( $ response instanceof \ Jasny \ HttpMessage \ Response ) { $ response -> emit ( $ this ) ; return ; } $ this -> emitStatus ( $ response ) ; $ this -> emitHeaders ( $ response ) ; $ this -> emitBody ( $ response ) ; }
Emit the full HTTP response

@param ResponseInterface $response
Emit the full HTTP response