You are not logged in.
Hi,
it seem that OnWebSocketsClosed is not triggered on client side when compiled with last mORMo2 version.
I have the issue on Delphi 11, still not tested on FPC. I tested it with `rest-websockets` project from the example folder, compiling the server and client on a fresh clone.
You can find the client code with `OnWebSocketsClosed` implemented there:
https://gist.github.com/flydev-fr/93902 … a488e1edae
When compiling only the client with mORMot2 (commit fa3cd43097e1e9a89edee94ad0282b17817668a6 from May 12) I can get it working.
Last edited by flydev (2023-07-13 07:16:41)
Offline
ISDELPHI is set in mormot.defines.inc so you should not need to define it.
Cleaning dcu is always the first thing to do, after upgrading the mORMot source code.
Offline