Re: [fpc-pascal] JSON RPC send server request to client

2022-10-02 Thread Wayne Sherman via fpc-pascal
Wayne wrote: > JSON-RPC can be used bi-directionally when using > UNIX domain sockets, TCP sockets, and other > bidirectional transports (e.g websockets). > If implemented as such using a bi-direction transport, > the endpoints can be both a server and a client > at the same time... Sorry, my use

Re: [fpc-pascal] JSON RPC send server request to client

2022-10-02 Thread Wayne Sherman via fpc-pascal
Michael 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. >From the spec, JSON-RPC 2.0 is "transport agnostic