Hi,
Regarding custom commands and raws, how can I retrieve the data passed
inside writeData function in http.js?
Here's a basic code example on what I'm wondering about:
Server side
Ape.registerCmd('testcmd', true, function(params, cmd) {
var request = new Http('http://ape.mysite.net/something');
request.set('method', 'POST');
request.writeData('msg', + message);
});
Client side
pipe.request.send('testcmd', {'message': 'My message, blablabla'});
https://github.com/APE-Project/APE_Server/blob/master/scripts/framework/Http.js
Could anyone guide me on this on please, Thanks!
--
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/