Revence Kalibwani | 16 Jun 2012 19:19
Favicon

XMPP API for Go in Google App Engine

Hello;

I have failed to find any group better-suited for this question.

I have an app that uses XMPP on Google App Engine. It is written in Go. However, the API available for XMPP does not (yet) (seem to) allow me to set the app’s status—say, the same way the Python one allows something like xmpp.send_presence(…)—and that is getting in the way.
Question: does anyone know how I can hack around (send bare XML, for example), or if this will be changed in the near-enough future?

Also, if you know of a better list for this, point me thence.

--
Revence

David Symonds | 16 Jun 2012 19:32
Favicon
Gravatar

Re: XMPP API for Go in Google App Engine

On Sat, Jun 16, 2012 at 10:19 AM, Revence Kalibwani <revence@...> wrote:

> I have failed to find any group better-suited for this question.

google-appengine-go is probably better, but this is fine here too.

> I have an app that uses XMPP on Google App Engine. It is written in Go.
> However, the API available for XMPP does not (yet) (seem to) allow me to set
> the app’s status—say, the same way the Python one allows something like
> xmpp.send_presence(…)—and that is getting in the way.
> Question: does anyone know how I can hack around (send bare XML, for
> example), or if this will be changed in the near-enough future?

Yes, there's nothing like that supported yet. File an issue on the App
Engine issue tracker?

Dave.

beckhn | 11 Oct 2012 14:58

Re: XMPP API for Go in Google App Engine

At the moment, I use the latest 1.7.2, and it seems sending presence stanzas to clients does not work. But there are some things to note:

- a client has to be subscribed to the app engine application in order to receive presence updates
- I could not get this subscription to work (using latest Strophe.js), don't know why, which induce the problem to send presence updates to the client
- using direct presence stanzas work, client to app engine as well as vice versa, so this is a possible way.

My impression is, that the app engine operates not really accurate as an XMPP client, some things which should work according to the XMPP standard do not or behave a little bit different. 

Cheers

Hans

Am Samstag, 16. Juni 2012 19:19:39 UTC+2 schrieb Revence Kalibwani:
Hello;

I have failed to find any group better-suited for this question.

I have an app that uses XMPP on Google App Engine. It is written in Go. However, the API available for XMPP does not (yet) (seem to) allow me to set the app’s status—say, the same way the Python one allows something like xmpp.send_presence(…)—and that is getting in the way.
Question: does anyone know how I can hack around (send bare XML, for example), or if this will be changed in the near-enough future?

Also, if you know of a better list for this, point me thence.

--
Revence

--
 
 

Gmane