Re: RPC via WebSockets.

2020-01-17 Thread Dmitry Igrishin
On Sat, 18 Jan 2020, 05:54 Nikolay Samokhvalov, wrote: > This is a very common task, definitely. > > As for WebSockets, there is an addition to PostgREST, postgrest-websockets > https://github.com/diogob/postgres-websockets#readme > Yep, but as it's addition, it's not first class citizen and requ

Re: RPC via WebSockets.

2020-01-17 Thread Nikolay Samokhvalov
This is a very common task, definitely. As for WebSockets, there is an addition to PostgREST, postgrest-websockets https://github.com/diogob/postgres-websockets#readme PostgREST is not only for "give me contents", you can write functions (in any PL) and call them using POST /rpc/functionname. Th