Page 1 of 1

How to connect to ws://127.0. 0.1/devtools/page/ ?

Posted: Mon 23 Nov 2020 18:49
by leonardo77
Hi,

How to connect to "ws://127.0. 0.1/devtools/page/" ?

How to set up?
How to send and receive json data?

Thanks

Re: How to connect to ws://127.0. 0.1/devtools/page/ ?

Posted: Tue 24 Nov 2020 18:02
by leonardo77
Well, I managed to join and also send a message. It was a lot simpler than I thought.
But how do I get the reply message back?

Re: How to connect to ws://127.0. 0.1/devtools/page/ ?

Posted: Wed 25 Nov 2020 13:03
by ViktorV
To work with data via the WebSocket protocol, you can use the TScWebSocketClient component.
You can learn more information about using the TScWebSocketClient component in our blog at https://www.devart.com/sbridge/delphi-w ... onent.html