-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hey, please let me know if I've misunderstood how this is supposed to be used.
To me it seem that the way you use this with a node http(s) server is to do something like this:
http.createServer(function (req, res) {
var ctx = context();
ctx.request.req = req;
ctx.request.res = res;
ctx.redirect('http://google.com');
});Is this true or have I misunderstood this module slightly? Would you accept a PR making it possible to initialize this with context(req, res)?
Metadata
Metadata
Assignees
Labels
No labels