Hi,
it's a special option not documented of start. By default when you call
start(); the JSF open a request to APE Server and send data. When you
put this as second argument :
var opts = {'sendStack' : false,'request' : 'stack'};
This tell to JSF to stack request ('request': 'stack') and to not send
it ('sendStack': false). This allow you to send more raw in the connect
request.
Regards.
On 20/04/2010 21:45, rsdrsd wrote:
Hi,
Can some one explain to me what the following line of code does:
var opts = {'sendStack' : false,'request' : 'stack'};
this.core.start({'name' : this.options.name},opts);
In the docs I can't find any info on the opts for the start function.
What does it do and what happens if I omit it in the Chat example.
Why is it necessary there. I can't find a clue. Some one can help me
please?
Thank you
--
Nicolas Trani - Web engineer
Weelya - Improve the web
32 rue du faubourg boutonnet
34090 Montpellier
Tel: 04 67 169 778 - Fax: 09 57 91 99 91
http://www.weelya.com
http://www.ape-project.org
--
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/