Re: [Lazarus] pas2js and server sent events

2022-08-26 Thread Luca Olivetti via lazarus

El 26/8/22 a les 9:27, Ondrej Pokorny ha escrit:

Hello Luca,

better send the message to pas2js mailing list directly: 
https://lists.freepascal.org/mailman/listinfo/pas2js/


Ouch, I forgot there ir a pas2js list and I'm even subscribed to it. Done.
Sorry for the noise.

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


Re: [Lazarus] pas2js and server sent events

2022-08-26 Thread Ondrej Pokorny via lazarus

Hello Luca,

better send the message to pas2js mailing list directly: 
https://lists.freepascal.org/mailman/listinfo/pas2js/


Ondrej


Am 26.08.2022 um 09:16 schrieb Luca Olivetti via lazarus:

Hello,

I see that pas2js has support for websockets, but I cannot find if it 
also supports server sent events.


A couple of years ago I implemented an application with sse where I 
used fpWeb and plain html+javascript in the browser.


Now I need to implement a more complex application and I'd like to use 
pas2js, if it supports sse I can reuse the old server class, if it 
doesn't I'll have to reimplement it as a websocket server.



Bye

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] pas2js and server sent events

2022-08-26 Thread Luca Olivetti via lazarus

Hello,

I see that pas2js has support for websockets, but I cannot find if it 
also supports server sent events.


A couple of years ago I implemented an application with sse where I used 
fpWeb and plain html+javascript in the browser.


Now I need to implement a more complex application and I'd like to use 
pas2js, if it supports sse I can reuse the old server class, if it 
doesn't I'll have to reimplement it as a websocket server.



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