> On Oct 2, 2022, at 10:23 AM, Hairy Pixels wrote:
>
> So I need to send the message manually back to the client (the IDE) with the
> ID which JSON RPC requires also. I’m confused about the ID in particular and
> if it can be anything or it needs to be generated in the same stream as
> exist
> On Oct 2, 2022, at 9:16 AM, Michael Van Canneyt
> wrote:
>
> There is no way to send data from server to client, only responses to client
> requests.
>
> What's more, HTTP 1 and 1.1 simplu do not allow this.
> You'd need HTTP2 and/or websockets in order to send data from server to
> client
On Sat, 1 Oct 2022, Hairy Pixels via fpc-pascal wrote:
Quick question, I’ve been using the JSON RPC package to receive messages
from the client and dispatch methods but I need to send a request from the
server to the client now. Is this possible in the library? I can’t find
a method in TCust
On Sat, 1 Oct 2022, Hairy Pixels via fpc-pascal wrote:
I have some JSON with a “arguments” value which can be an array of JSON type.
When it’s received and parsed with TJSONDeStreamer.JSONToObject how can I
represent this “any” type? I tried using TJSONArray but it always returns an
empty a
Quick question, I’ve been using the JSON RPC package to receive messages from
the client and dispatch methods but I need to send a request from the server to
the client now. Is this possible in the library? I can’t find a method in
TCustomJSONRPCDispatcher which seems appropriate. Thanks!
Regar