Hello everybody. Sorry for the meaningless title, I would like to
create a Node.js extension that extends the paths the programmer
writes adding some more to integrate a protocol I'm researching right
now.
The idea is the following: the programmer writes his/her server with
his paths and stuff. When initialized, my extensions should create
some a couple of listeners on some paths, for example:
var myExtension = require('./myExtension');
//...
myExtension.init(...);
and myExtension will create for example a listener to "/myextension/a"
which will do something (decided by my extension).
I wanted to know if this is somehow possible to do and if it is, how
would you do that.
Thanks,
Masiar
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en