El 3/6/20 a les 18:53, silvioprog via lazarus ha escrit:

2) As Michael explained, unfortunately, it is not supported in FCL-Web (yet) . However, if you want a SSE structure out-of-the-box, you can provide it using the Brook streaming, e.g.:

Minimal console example: https://github.com/risoflora/brookframework/blob/expr/Examples/Console/FPC/httpsrvsse.lpr Minimal LCL example: https://github.com/risoflora/brookframework/blob/expr/Examples/LCL/HTTPServerSSE_frMain.pas

Thank you.
I tested the 2 ports approach (fpweb on one port and a custom socket for SSE on a different port) and it works, but this is nicer.
Is brookframework stable enough to run 24/7?

Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to