I realized i was not clear. I meant a function or event to catch all
commands . In the client side you could addEvent("onCmd") and that event
will be triggered on every command. Something like the registerHookBadCmd()
in the server but for the registered commands.My intend is to write extra headers to the all the response. My current work around is to add a hook to every single command and write the proper CORs header. Sent from my iPhone On Apr 28, 2012, at 12:09 PM, Pouya Emami <[email protected]> wrote: I don't mean to be ignorant but have you looked at this page: http://www.ape-project.org/wiki/index.php/How_to_build_a_serverside_JS_module ? It has pretty much all you need to know about the server side data manipulation. On Thursday, April 26, 2012 10:49:33 PM UTC-4, Pablo wrote: > > On client side you can intercept all outgoing commands with the onCmd() > function. > Is there any equivalent for the server side? > -- You received this message because you are subscribed to the Google Groups "APE Project" 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/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/ -- You received this message because you are subscribed to the Google Groups "APE Project" 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/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
