[google-appengine] Channel API Sockets - Uni-Directional or Bi-Directional?

2011-08-18 Thread eeejay
Question 1:  Is this the correct forum to ask question about Channel API 
(which I am intending to use in conjunction with Google App Engine).

Question 2: In the documentation for the Channel API it says:  The 
JavaScript client opens a socket using the token provided by the server. It 
uses the socket to listen for updates on the channel.  However 
communication from the client to the server seems to be in the form of a 
POST.

Are Channel API sockets truly uni-directional server-to-client?  Or is there 
a way for the client to communicate back via web socket?


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/ulHR1fPZVG0J.
To post to this group, send email to google-appengine@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] Channel API Sockets - Uni-Directional or Bi-Directional?

2011-08-18 Thread Robert Kluin
On Thu, Aug 18, 2011 at 13:46, eeejay e...@artefactgroup.com wrote:
 Question 1:  Is this the correct forum to ask question about Channel API
 (which I am intending to use in conjunction with Google App Engine).

Yes.

 Question 2: In the documentation for the Channel API it says:  The
 JavaScript client opens a socket using the token provided by the server. It
 uses the socket to listen for updates on the channel.  However
 communication from the client to the server seems to be in the form of a
 POST.
 Are Channel API sockets truly uni-directional server-to-client?  Or is there
 a way for the client to communicate back via web socket?

No; server-to-client is implemented using long-polling.  The
client-to-server uses POST requests back to the server.


Robert

-- 
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-appengine@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.