maxogden/rewriter — Issue #1: cohabitation with connect?
Author: jmarca
Created: 2012-02-06 18:20:16+00:00
State: open

File this under possibly stupid questions: Is there an easy way to integrate this with a Connect-based stack?

The reason I ask is that I have a number of middleware conveniences already set up for Connect, and I'd like to reuse that work as much as possible. Mostly they are just wired up to connect.router( ... ), but one or two access the connect.session stuff.

From a super quick scan of the code, it seems like the 't' object has to be a tako object (I haven't even glaced at the tako code), so I'm thinking that it would be *difficult* to substitute connect for tako---that it would be *easier* to port my stuff to this framework. Is that correct?