> var requests = [];
>
> http.Server(function(req, res) {
>     // req and res are what you want, already provided. They are
> request-local.
>     requests.push(req); // here we provide a way for others to access this
> private from outside.
>
> });

Well, there's a catch => How do the "outside" know what "index in
array" are we looking at?




--
Happy Hacking,
Gaurav Vaish
www.m10v.com

Reply via email to