Questions tagged [channel-api]

The Channel API creates a persistent connection between your application and Google servers, allowing your application to send messages to JavaScript clients in real time without the use of polling.

217 questions
0
votes
1 answer

Debugging Channel API Appengine

I'm using the appengine channel api(with deferred tasks) but it doesn't seem to be working. Here's my server code in a gist: Class Handler(webapp2.RequestHandler): def get(self): path =…
Shan
  • 1,138
  • 17
  • 32
0
votes
0 answers

How to use channel api for chrome app?

I am trying to create an application where I need to receive url information from Google app engine server(python) to a client (chrome app) through channel api. I found this example…
0
votes
1 answer

How to destroy connection in Channel API GAE (python)?

I am creating a channel using channel api on app server using channelId = channel.create_channel('mychannel') now I want to destroy this channel. How can I do this ?
Sunil Garg
  • 14,608
  • 25
  • 132
  • 189
0
votes
1 answer

How do you properly use ChannelAPI to send a file from wear to mobile and vice versa?

I am trying to record audio on the wear and send it to the mobile and vice versa using the Channel API. However I can't find a working example of how to write this. Can anyone help? Thanks.
0
votes
1 answer

How is data cost calculated for Google channel api?

I'm writing a p2p chess game that sends 2 byte messages back and forth (e.g. e4 or c4). I'm considering the use of GAE Channel API. I noticed that this API causes the browser to send a heartbeat message to the server with POST URL…
Lightbeard
  • 4,011
  • 10
  • 49
  • 59
0
votes
1 answer

Google Channel API - Jquery update table

I am attempting to create a live timing table due to restrictions I have to use the google channel api. So I can receive messages fine that all works I am trying to add or update code but my issues is the common one of added elements not being…
bobthemac
  • 1,172
  • 6
  • 26
  • 59
0
votes
2 answers

Google AppEngine channel is opened, client is receiving responses, but socket.onmessage is not being called

I have a webpage that I want to use the google app engine channel API with. I have a token being generated with an external library, which is fed into this very, very simple javascript.