jsonql-ws-server
Setup WebSocket server for the jsonql to run on the same host, automatic generate public / private channel using contract
This is not mean to use as standalone server (although you can)
This is included as optional dependencies as one of the following module:
- @jsonql/koa complete Node server side setup with Koa
- @jsonql/express (in development)
Please check our main documentation site at jsonql.org for further information
Note
The module can work as a standalone WebSocket server.
const http = const fsx = const jsonqlWsServer = const server = http// when using this as standalone, you need to include the contract from somewhereconst config = contract: fsx// init
But this is not recommended.