Hello TMS Team,
i tried to use the webSocketClient component to talk with a WebSocketServer using JSON-RPC protocol( https://en.wikipedia.org/wiki/JSON-RPC ).
When i connect and send plain text:
WebSocketClient1.Send('{"jsonrpc": "2.0", "method": "subtract", "params": [42, 23], "id": 1}');
of course the server interprets it as plain text.
So i think i have to put something in the Header or so(e.g. the mime type) that the server understand, that the request is a JSON-RPC command.
...
By the way, i use the websocket components from https://www.esegece.com/websockets
####
So my feature request for the future would be ;)
Is it possible to implement JSON-RPC as high-level protocol to your webSocketClient component???
Many thanks for your work and greets from thuringia