If you are using Nginx as a proxy server, you might consider Nchan 
<https://nchan.io/>. It holds the HTTP/websocket connections and has a 
pubsub system, and your web2py app simply sends and receives regular 
short-lived HTTP requests. Similar alternatives are Centrifugo 
<https://github.com/centrifugal/centrifugo/> and Pushpin 
<https://pushpin.org/>.

Anthony

On Saturday, April 13, 2019 at 3:06:46 PM UTC-4, João Matos wrote:
>
> It would be great if web3py would support SSE.
>
> For now, the websocket solution would work with Apache?
>
> sábado, 13 de Abril de 2019 às 16:26:13 UTC+1, Massimo Di Pierro escreveu:
>>
>> No. we do provide a web2py/gluon/contrib/websocket_messaging.py which 
>> uses tornado and webocket for the same purpose.
>> web3py may provide this functionality.
>>
>> On Friday, 12 April 2019 15:36:38 UTC-7, João Matos wrote:
>>>
>>> Does web2py support SSE (server sent events) from HTML5?
>>> https://www.w3schools.com/html/html5_serversentevents.asp
>>>
>>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to