[Pas2js] pas2js and server sent events

Luca Olivetti luca at ventoso.org
Fri Aug 26 18:57:54 CEST 2022


El 26/8/22 a   17:59, Mattias Gaertner ha escrit:

> Copy these units to a folder
> 
> fpcustwsserver.pp
> fphttpserver.pp
> fpthreadpool.pp
> fpwebsocketclient.pp
> fpwebsocket.pp
> fpwebsocketserver.pp
> httpdefs.pp
> httpprotocol.pp
> httproute.pp
> sslsockets.pp
> ssockets.pp
> wsupgrader.pp
> 
> Compile wsupgrader.pp

Thank you!

with those files I managed to compile and test the example websocket 
client and server.
To compile the httpupgrader example I had to add

fpwebfile.pp
fphttp.pp
httpjson.pp


I put them all in an lpk so I can experiment further.

Bye
-- 
Luca



More information about the Pas2js mailing list