Thank you!
yes, and will be part of the solution.
By the way I have found that is very important to use same server name in
the app and in the ssl certificate.
About my question:
I think the answer is in chapter 10.
I have tried
@service.rundef concat(a, b):
return a + b
It's ok, but something like
@service.run
def concat(**a):
return a
did not work - a is always an empty dict.
Is there any to use **kwargs in the service?
2016-11-18 19:18 GMT+01:00 Massimo Di Pierro <[email protected]>:
> 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.