On Mon, Jan 2, 2012 at 12:39, Daniel Bryan wrote:
> Ah, thanks.
>
> I thought that the order of calling 'use' would explicitly describe the
> order. This was my main problem - since Camping's doing a bit of a hack to
> neatly slot the middleware in without people needing a rackup file or
> whateve
Ah, thanks.
I thought that the order of calling 'use' would explicitly describe the order.
This was my main problem - since Camping's doing a bit of a hack to neatly slot
the middleware in without people needing a rackup file or whatever, it's a bit
unclear on how to get stuff in the right or
If you look in to the Rack docs, you'll find more info on how to chain
middleware together. Camping provides some friendly shortcuts to that, but
'including a module' is not how that's supposed to work, is my understanding.
Essentially Rack middleware work by creating an object which responds to
I'm trying to implement some simple middleware that will have behaviour based
on session data.
>From looking at the source for Camping::Session and Rack::Session, I thought
>I'd just be able to put my own middleware between Camping::Session and my app.
>I tried doing it the same way that Campin
4 matches
Mail list logo