public function dispatch(ServerRequest $request = null)
    {
        $response = $this->respond($request ? : $this->request);

        $response->send();
    }
public function dispatch(ServerRequest $request = null)
    {
        $response = $this->respond($request ? : $this->request);

        $response->send();
    }
public function dispatch ( ServerRequest $ request = null ) { $ response = $ this -> respond ( $ request ? : $ this -> request ) ; $ response -> send ( ) ; }
Dispatch and send header
And print the response
@param ServerRequest|null $request
Dispatch and send header And print the response