JerrySievert/bricks — Issue #2: Make it easier to get a reference on an individual route
Author: jonnay
Created: 2011-10-18 16:45:12+00:00
State: open

It would be nice if it were possible to get an existing instance of an existing appServerl route object, so that it would be possible to write a route that could be hot-swappable. Perhaps appserver.addRoute could return an id that can be used to an appserver.getRoute() function call to return the route object, or even if the appserver.addRoute call returned the object itself.

That way it would be possible to change the handler in an already-running server.