nitroshare / qhttpengine

HTTP server for Qt applications
MIT License
159 stars 76 forks source link

Add SSE awareness to QHttpEngine::Socket #38

Open mwohlert opened 1 year ago

mwohlert commented 1 year ago

Allow the user to set sseEnabled on a socket basis in order for the socket not to be close on writes and redirects.

This keeps the connection open for a constant stream of messages as defined per SSE.