Eh bien, j'utilise le test dans la page officilelle:http://ape-project.org/

Dans main.ape.js :

cmd.user.sendRaw('bar', {
        hello: 'world',
        echo: params.ping
    });

et dans le client:
var client = new APE.Client();

client.load(); 

client.core.join('testChannel');

client.request.send('foo', {ping: 'ho hey'});
 
client.onRaw('bar', function(raw, pipe) {
    console.log('echo : ' + raw.data.echo);
    console.log('Receiving : ' + raw.data.hello);
});

Et ca ne marche pas.Comment faire pour transmettre des données du serveur vers 
le client???
Cordialement



Le mardi 25 février 2014 17:18:52 UTC+3, Henints a écrit :
>
> Bonjour!!!C'est urgent.
> Je suis encore nouvelle dan le APE. J'ai un enorme problème. je ne sais 
> pas ou est le script à modifier ou inserer dans le cote serveur car les 
> données que j'envoie par sendRaw ne sont pas transmis dans le client en 
> utilisant la function getRaw. Est -ce que il faut inclure le script dans 
> main.ape.js?c'est ce que j'ai fait en tout cas et ca marche mais il n'ya 
> aucune intéraction avec le client de l APE..Merci d'avance ...
>

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to