|
@@ -1,6 +1,6 @@
|
|
library wasmwebsocketdemo;
|
|
library wasmwebsocketdemo;
|
|
|
|
|
|
-uses fpjson, jsonparser, basenenc, sysutils, wasm.websocket.api, wasm.websocket.shared, wasm.websocket.objects;
|
|
|
|
|
|
+uses fpjson, jsonparser, basenenc, sysutils, wasm.logger.api, wasm.websocket.api, wasm.websocket.shared, wasm.websocket.objects;
|
|
|
|
|
|
Type
|
|
Type
|
|
|
|
|
|
@@ -100,7 +100,7 @@ Procedure TApplication.Run;
|
|
|
|
|
|
begin
|
|
begin
|
|
FWS:=TWasmWebsocket.Create(Nil);
|
|
FWS:=TWasmWebsocket.Create(Nil);
|
|
- OnWebsocketLog:=@HandleWebsocketLog;
|
|
|
|
|
|
+ OnWasmLog:=@HandleWebsocketLog;
|
|
WS.OnOpen:=@HandleOpen;
|
|
WS.OnOpen:=@HandleOpen;
|
|
WS.OnError:=@HandleError;
|
|
WS.OnError:=@HandleError;
|
|
WS.OnClose:=@HandleClose;
|
|
WS.OnClose:=@HandleClose;
|