class ActionDispatch::Routing::RouteSet::Dispatcher

def serve(req)

Experimental RBS support (using type sampling data from the type_fusion project).

def serve: (ActionDispatch::Request req) -> nil

This signature was generated using 1 sample from 1 application.

def serve(req)
  params     = req.path_parameters
  controller = controller req
  res        = controller.make_response! req
  dispatch(controller, params[:action], req, res)
rescue ActionController::RoutingError
  if @raise_on_name_error
    raise
  else
    [404, { "X-Cascade" => "pass" }, []]
  end
end