artyom-beilis / cppcms

CppCMS Framework
Other
443 stars 107 forks source link

Does cppcms support websockets? #97

Open dreaming-augustin opened 1 year ago

dreaming-augustin commented 1 year ago

I don't see much in the documentation regarding websockets.

Is it possible to create web sockets with cppcms?

artyom-beilis commented 1 year ago

Not yet.

For push notifications you can use server sent events/event streams

dreaming-augustin commented 1 year ago

Thank you. I will look into that.

http://cppcms.com/wikipp/en/page/cppcms_1x_tasks I see that providing WebSockets support is also planned.

masaoliou commented 1 year ago

If one uses Lighttpd, the following line is essential for Sever Sent Events to work:

server.stream-response-body=2