Open potomak opened 11 years ago
While you were thinking I've tried to solve the problem in the easiest way :grin:
Notes:
postprocess
call for error requests (was it a problem to solve?)handle_event/3
callback is primitive, I'd really like to see how you would achieve this task
I'm a bit reluctant to a catch-all in the middleware, as this makes it tricky to call the handleevent/3 callbacks for request{exception,error,exit}. An option would be to call it from the middleware explicitly.
I will have to think about it for a bit.. :-)