cppcms icon indicating copy to clipboard operation
cppcms copied to clipboard

Does cppcms support websockets?

Open dreaming-augustin opened this issue 2 years ago • 3 comments

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

Is it possible to create web sockets with cppcms?

dreaming-augustin avatar Feb 13 '23 05:02 dreaming-augustin

Not yet.

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

artyom-beilis avatar Feb 13 '23 05:02 artyom-beilis

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.

dreaming-augustin avatar Feb 13 '23 05:02 dreaming-augustin

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

server.stream-response-body=2

masaoliou avatar Feb 13 '23 12:02 masaoliou