have you looked into:
web2py/gluon/contrib/websockets_messaging.py
The docs is in the file.
On Wednesday, 16 November 2016 01:50:59 UTC-6, mweissen wrote:
>
> I want to implement the telegram inline-mode (
> https://core.telegram.org/bots/api#inline-mode). The telegram server
> sends an URL request and the web2py server
> a) should decide which user wants an answer and
> b) should respond as fast as possible.
>
> a): I use a database table to store the "state". Of course it would be
> faster to cache it in the RAM, but this idea did not work on a virtual
> machines.
>
> b): I need no sessions, I want the least possible overhead. What would be
> the best method?
>
> By the a way - a similar problem:
> I want to use the SMTP package of Python to receive and analyze emails. I
> have put the program into the static directory. Are there any disadvantages
> ?
>
> Regards, Martin
>
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.