hat von euch wer Erfahrung mit pas2js und websocket?
kann man das schon verwenden und wenn ja wie, blick da nicht durch
thanks
lg peter
pas2js
Re: pas2js
i found it out how to use, just modify the TJSWebSocket class a little bit
append a constructor
constructor new( aUrl : String );
after that you can use it with
var
ws : TJSWebSocket;
ws := TJSWebSocket.new( 'wss://8.8.8.8' );
ws.onopen := @wsOpen;
...
cheers peter
append a constructor
constructor new( aUrl : String );
after that you can use it with
var
ws : TJSWebSocket;
ws := TJSWebSocket.new( 'wss://8.8.8.8' );
ws.onopen := @wsOpen;
...
cheers peter