server-js
server-js copied to clipboard
JSON-RPC 2.0 Server implementation that supports multiple transport protocols.
I need to `app.set('trust proxy')` as seen [here](https://expressjs.com/en/guide/behind-proxies.html) since heroku is behind a proxy. https://github.com/open-rpc/server-js/blob/fc7ace81241a45610e73be7f2b39556b32d8f608/src/transports/http.ts#L20
The goal of this PR is to implement an MQTT transport. I based my implementation on the [http transport](https://github.com/open-rpc/server-js/blob/master/src/transports/http.ts). I got a basic proof-of-concept working, but it looks like I'm...
Not sure if this was better-suited to be posted as a bug or feature request. **Describe the bug** Currently, this project has a [direct dependency on `[email protected]`](https://github.com/open-rpc/server-js/blob/fc7ace81241a45610e73be7f2b39556b32d8f608/package.json#L33). Although https://github.com/open-rpc/server-js/pull/754 has...
**Describe the bug** Latest version of server-js create this error when this export line is included. in: `node_modules/@open-rpc/server-js/build/index.d.ts` error: ```node_modules/@open-rpc/server-js/build/index.d.ts:4:10 - error TS1005: 'from' expected. 4 export * as transports...
I would like to see Unix domain socket support to be able to have a CLI tool that works without the need for a TCP/UDP connection.
like thats one of the nicest things going to typescript was knowing its an interface with the `I`prefix, its nice to see at a glance what exactly is an interface,...
**Describe the bug** According to https://www.jsonrpc.org/specification section _5 Response object_ when _there was an error in detecting the id in the Request object (e.g. Parse error/Invalid Request)_, `id` MUST be...
**Describe the bug** Tests do not have 100% Code Coverage
While running server-js, the console does not output any information aside from the initial ```bash Starting Server ``` message. More verbose logging could be beneficial