简体   繁体   English

我可以将xmpp python库添加到我的谷歌应用引擎服务器

[英]Can I add xmpp python library to my google app engine server

I'm trying to send messages between xmmp clients using gogle app engine as a server, for that reason I prefer to use xmpp library for python (xmpppy) instead the xmpp library of the google app engine API. 我正在尝试使用gogle app引擎作为服务器在xmmp客户端之间发送消息,因此我更喜欢使用xmpp库用于python(xmpppy)而不是google app引擎API的xmpp库。 Can I add the xmpp python library to my server? 我可以将xmpp python库添加到我的服务器吗? I mean can I use this library instead the xmpp library of google app engine? 我的意思是我可以使用这个库而不是google app引擎的xmpp库吗?

I don't know but your two biggest limitations will be the inability to use native libraries, and the fact that GAE only supports HTTP requests, with no access to the underlying sockets. 我不知道,但您最大的两个限制是无法使用本机库,以及GAE仅支持HTTP请求,无法访问底层套接字。

If your library uses native code, or relies on using sockets for communications, you won't be able to use it. 如果您的库使用本机代码,或依赖于使用套接字进行通信,则您将无法使用它。 If it's pure python and can work with an HTTP based transport, you should be ok. 如果它是纯python并且可以使用基于HTTP的传输,那么你应该没问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM