[google-appengine] Re: Channel API - what after 2 hours?

2010-12-07 Thread Moishe
Hi Rafael - thanks for the question.

onerror & onclose will be called when the token times out. At this
point you can use XHR to request a new token and create a new channel.

You're right that it would be nice to be able to simulate this for
testing -- feel free to file a feature request.

-Moishe

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Channel API - what after 2 hours?

2010-12-07 Thread Rafael Sierra
Hi Moishe,

On Tue, Dec 7, 2010 at 6:04 PM, Moishe  wrote:

> Hi Rafael - thanks for the question.
>
> onerror & onclose will be called when the token times out. At this
> point you can use XHR to request a new token and create a new channel.
>

thank you, I will try this.


>
> You're right that it would be nice to be able to simulate this for
> testing -- feel free to file a feature request.
>

http://code.google.com/p/googleappengine/issues/detail?id=4220 :)


>
> -Moishe
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Rafael Sierra
http://blog.rafaelsdm.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.